Computing.Net > Forums > Unix > Parser Data using AWK

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Parser Data using AWK

Reply to Message Icon

Name: Lewisnkl
Date: July 25, 2005 at 02:22:19 Pacific
OS: Mac OS X
CPU/Ram: G4 / 2GB RAM
Comment:

How could I extract list of files from certain directory and
pass it into a awk script to progress these files and output
the result into another file.




Sponsored Link
Ads by Google

Response Number 1
Name: Jim Boothe
Date: July 28, 2005 at 06:19:05 Pacific
Reply:

awk '{print}' file1 file2 file3 > fileout

awk '{printf "%4d%4d %s\n",NR,FNR,$0}' /d01/abc* > fileout


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Parser Data using AWK

Combine multiple files using awk www.computing.net/answers/unix/combine-multiple-files-using-awk/7591.html

Using AWK www.computing.net/answers/unix/using-awk/6583.html

profiling using awk www.computing.net/answers/unix/profiling-using-awk/7035.html