[ale] Sed equivalent for vi command

Dow Hurst dhurst at kennesaw.edu
Fri Dec 6 09:44:35 EST 2002


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

-- 
__________________________________________________________
Dow Hurst                  Office: 770-499-3428
Systems Support Specialist    Fax: 770-423-6744
1000 Chastain Rd., Bldg. 12
Chemistry Department SC428  Email:dhurst at kennesaw.edu
Kennesaw State University         Dow.Hurst at mindspring.com
Kennesaw, GA 30144
*********************************
*Computational Chemistry is fun!*
*********************************


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list