The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
awk script
.
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
:
awk script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
03-17-2008
rikxik
Registered User
Join Date: Dec 2007
Posts: 250
That's why you should always provide sample input and expected output while asking questions.
Code:
$ cat in.txt mgr1.dbf tool.dbf usR.dbf $ $ cat in.txt |awk '$0 !~ /^ *$/' mgr1.dbf tool.dbf usR.dbf
rikxik
View Public Profile
Find all posts by rikxik
Find rikxik's past nominations received
Find rikxik's present nominations given