The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Deleting lines in a file
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Deleting lines in a file
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-29-2007
aigles
Registered User
Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,212
Try:
Code:
sed
'/\*\*\*DISCLOSURES\*\*\*/,$d' inputfile
Jean-Pierre.
aigles
View Public Profile
Find all posts by aigles