Re: unix -sed

2002-04-28 Thread drieux
On Sunday, April 28, 2002, at 05:41 , Michael Turner wrote: >> What is wrong? Isn't any command from vi able to be done in sed, just >> take >> out the leading :1,$ ? > > > That is not my understanding. Regex syntax was different in the many > different tools. volks should never confuse the

Re: unix -sed

2002-04-28 Thread Michael Turner
> What is wrong? Isn't any command from vi able to be done in sed, just > take > out the leading :1,$ ? That is not my understanding. Regex syntax was different in the many different tools. /Michael Turner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: unix -sed

2002-04-28 Thread Michael Kelly
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 dofile | sed 'g/^...$/s/\(.*\)/???\1/