I want to put each line within quotation marks, such as:
abcdefg hijklmn opqrst
convert to:
\"abcdefg\" \"hijklmn\" \"opqrs
paste -d\" /dev/null your-file /dev/null
(not the nicest looking, but probably the fastest)
Now, if the input may contain quotes, you may need to escape them with backslashes (and then escape backslashes as well) like:
sed 's/["\]/\\&/g; s/.*/"&"/' your-file