Copy paste from wordpress ..
-
I have a blog and I have lines that I have copy pasted that have ” in them.
For example:
echo “selclass qualifier memory;info;wait;infolog” | cstmWhen I copy paste the line from the blog to a terminal session I get this:
echo ^Óselclass qualifier memory;info;wait;infolog^Ô | cstm
As you see the ” is turned into a ^Ô
In my more recent example:
awk ‘{ print length(), $0 | “sort -n” }’This is what it will paste as
awk { print length(), $0 | sort -n^T }^R
—so .. after some testing .. using the lastest post
awk ‘{ print length(), $0 | “sort -n” }’
Using firefox,IE or Crome
They work fine if I post from the website to a text file:
awk ‘{ print length(), $0 | “sort -n” }’If I past from the website to a terminal window .. i get
awk { print length(), $0 | sort -n^T }^RIf I past from the website to a text file then to a terminal window . same thing.
awk { print length(), $0 | sort -n^T }^RIf I past from the original text file to the terminal window no issues:
awk ‘{ print length(), $0 | “sort -n” }’So it seems that wordpress maybe changing the characters some where?
My site is:
http://www.unixtips.net/thanks
The topic ‘Copy paste from wordpress ..’ is closed to new replies.