Christopher Sawtell wrote:
On Thursday 01 June 2006 17:09, Barry wrote:

Hi

I want to parse a text file and replace a quoted expression with a 2nd
expression.(actually a blank) I guess sed is the utility to use but what
is the syntax please

[EMAIL PROTECTED] ~ $ echo '"change this"' | sed -e 's/\"change this\"/to that/'
to that

man sed

for the whole story.

--
CS

I need a filename in the command somewhere, also possibly an output file?

I looked at the man and info pages and gave up. IMO utter confusion for someone who has never used the utility before and the 'examples' are no help at all

Barry

Reply via email to