Sample Header Ad - 728x90

awk on unix AS/400 (Qshell)

0 votes
0 answers
182 views
In linux, I can do this echo "hello" > a.txt awk 'sub("l", "x" )' a.txt hexlo But if I do it on Qshell, I get: echo "hello" > a.txt awk 'sub("l", "x" )' a.txt awk: 0602-562 Field $($ I have no idea of what's going on, cannot find much about awk on qshell online. Please help...
Asked by Sfp (103 rep)
Sep 16, 2020, 05:27 PM
Last activity: Sep 16, 2020, 06:47 PM