can someone please tell me how can i use an awk command and a grep command together using pipes and backtics.
for example:when i use this in a script i get the below error :`awk '/fileid/,/^-----/' logfile | grep specificdata`
sh[2]: 0403-057 Syntax error at line 2 : `|' is not expected.
In reply to usage of awk and grep together by raghu_shekar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |