$ tail -f /logs/filename.log | awk '!(/list)'I am able to run this command in GNU Linux flavourBut when I written in a script it is not working.test.ksh:variable=/logs/filename.log | awk '!(/list)' tail -f $varGetting the error as tail: cannot open `|' for reading: No such file or directorytail: cannot open `grep' for reading: No such file or directorytail: cannot open `list' for reading: No such file or directoryHow is need to work on this? Can anyone guide on this?
issues with GNU tail -f and combination of commands
shell;scripting;quoting;ksh