The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
command to remove last record on file
.
User Name
Remember Me?
Password
google site
Forums
Register
Blog
Man Pages
Forum Rules
Links
Albums
FAQ
Users
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
command to remove last record on file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
01-09-2007
Glenn Arndt
Anomalous Lurker
Join Date: Feb 2006
Location: Indianapolis, IN
Posts: 255
What is the 'cat' for? Why not just:
Code:
sed
'/^Z/d' myfile > newfile
?
Glenn Arndt
View Public Profile
Visit Glenn Arndt's homepage!
Find all posts by Glenn Arndt