Hmm... I got one way working (using -v var="--my-program-option"), not quite what I was looking for, but it works!
Now when I run my script at the command line it looks like:
Code:
awk -f assignment.awk -v clFlag="-n" inventory.data
again, weirder than what I thought, but I guess Awk has to know whether somethings a file or an argument. Once again I answered my own question
I just hope thats the last one I have before this things due at midnight! yikes!