From: Naylor, Jim (Jnaylor@SCHNUCKS.COM)
Date: Wed Oct 09 2002 - 13:20:41 EDT
sed '$d' inputfile > outputfile
-----Original Message-----
From: Michelle DeVault [mailto:adsmigmo@YAHOO.COM]
Sent: Wednesday, October 09, 2002 10:18 AM
To: aix-l@Princeton.EDU
Subject: how to use sed to delete last lines of a file
Is there a simple syntax for sed to delete the last
lines of a file without having to count the number of
lines in the file?
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:15 EDT