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}'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.