If you run your script without arguments it will read from STDIN, but if you supply arguments it will treat your arguments as filenames and read from them.
This may or may not be what you want (ususally it's a bug).
In reply to Re: Unable to read a file
by morgon
in thread Unable to read a file
by ckj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |