[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Sed equivalent for vi command
- Subject: [ale] Sed equivalent for vi command
- From: esoteric at 3times25.net (Geoffrey)
- Date: Fri, 06 Dec 2002 11:32:51 -0500
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?
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