The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Unix To Awk
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-02-2007
goodmis goodmis is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 24
Unix To Awk

How do I alias the FILE name into awk?


gawk -f awk_script FILE

or

FILE | gawk awk_script

for FILE in `find ./* -prune -type f -newer ./TIMEFILE`
do
# Need to have the actual FILE name ran thru an awk script
done