Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: tomd8
  • Order by date
  1. tomd8

    awk example - conditional print

    I am looking for an example of an awk statement performing a conditional print or what is wrong with this syntax:<br> cat $file ¦ awk '{if ($2="Date") print " " $1 " " $2 else print $1}'

Part and Inventory Search

Back
Top