<quote who="Luke Yelavich">

> I should clarrify my needs a bit. There are text strings in this file that
> have spaces between words. The whitespace is only at the end of fields,
> and all text strings have quotes around them. I also think this whitespace
> is between the last character, and the quote in the text string.

There have been some answers already, but here's something else you could
try if the whitespace is not just made of spaces...

  sed 's#[[:space:]]*"#"#g' < file.txt

:-)

- Jeff

-- 
Open CeBIT 2007: Sydney, Australia              http://www.opencebit.com.au/
 
   I don't know whose brain child it was, but it was quite an ugly child.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to