[ale] Sed equivalent for vi command
Geoffrey
esoteric at 3times25.net
Fri Dec 6 11:32:51 EST 2002
I believe what you want is:
sed 20,43d inputfile > outputfile
Dow Hurst wrote:
> If in vi I issue:
>
> :23,23+20 d
>
> I get line 23 up to line 43 deleted. When I issue at the command line a
> sed command of:
>
> sed -e '23,23+20 d' inputfile > outputfile
>
> I get a "Unrecognized command: 23,23+20 d" back from the sed command. Is
> there a way to do this using sed?
> Dow
>
--
Until later: Geoffrey esoteric at 3times25.net
The latest, most widespread virus? Microsoft end user agreement.
Think about it...
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list