On 4/28/02 8:41 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> ...
> In vi I could say  :1,$g/^.......$/s/\(.*\)/???\1/g            # and it
> works.
> In Unix when I output to sed         file | sed 's\(.*\)/???\1/g'       ##
> it works.
> When I do    file | sed 'g/^.......$/s/\(.*\)/???\1/g'
> I get a message  sed: command garbled:  'g/^.......$/s/\(.*\)/???\1/g' .
> 
> What is wrong? Isn't any command from vi able to be done in sed, just take
> out the leading :1,$ ?

I don't mean to be rude, but when did this turn into a vi/sed list?

-- 
Michael


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to