0

I came across this forum, and saw this answer, and though "Hey, this looks cool!".

After trying the commands, I received this error:

maliciouzzhd@ubuntu$ awk -W interactive '$0="maliciouzzhd: "$0' | nc 10.0.0.1 1234
awk: unknown option -W ignored

awk: can't open file $0="maliciouzzhd: "$0
 source line number 1

If anyone knows how to fix this error, this would be fantastic!

1 Answers1

6

-W is a mawk option, and you maybe using gawk (GNU awk). Run the command with mawk -W .... mawk is installed by default, but if gawk is installed, it becomes the default awk.

muru
  • 207,228