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 unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
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 -->
#
3
(
permalink
)
01-09-2007
mheinen
Registered User
Join Date: Jan 2007
Posts: 6
You put me on the right track. I ended up using
sed
and successfully stripped off the ^Z at the end of the file by using:
sed
'/^Z/d' myfile|cat > newfile
Thanks for the help.
mheinen
View Public Profile
Find all posts by mheinen
Find mheinen's past nominations received
Find mheinen's present nominations given