Because I'd like to be able to pipe a list of files (from ls, echo, etc) into the script as well as list them on the command line:
You could easily substitute <STDIN> for <> in your original post since you're using <> exclusively to read from <STDIN>.
In reply to Re^3: Writing unix-style filters
by ikegami
in thread Writing unix-style filters
by njcodewarrior
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |