I'm writing a script which needs to take command like arguments and have data piped to it. eg:
The problem i'm having is that it's not getting the arguments into $ARGV. When i shift the code that checks $ARGV and <> to above the
statement in my script, the $ARGV works but the <> doesn't. In the example code above, i get a "Can't open data2: No such file or directory" message from bash. What am i doing wrong?