How would I use this awk command:
awk 'NR>1{print $1}' string-to-modify
with NSTask? I already tried setting /usr/bin/awk as the launch path, 'NR>1{print $1}'
as an argument, then the string to modify as another argument but all I get is this:
/usr/bin/awk: syntax error at source line 1
context is
>>> ' <<<
/usr/bin/awk: bailing out at source line 1
Any help would be appreciated :)