The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
need help on multiple expression
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
need help on multiple expression
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
05-15-2008
rubin
Registered User
Join Date: Nov 2007
Posts: 151
To remove the dashes too, use:
Code:
awk '!/^\=+|^\(|^\-+/' your_file
If your OS doesn't recognize
awk
, try
nawk
or
/usr/xpg4/bin/awk
on solaris.
rubin
View Public Profile
Find all posts by rubin