in reply to Testing <>
The problem is that if there's no stdin and no command line args then the script just waits for input.
Just like cat, perl, sort, etc, etc, etc.
This is standard behaviour. Why does it matter to you? Both using -t and implementing a command line option that says there is no STDIN have their drawbacks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing <>
by Anonymous Monk on Oct 04, 2011 at 08:31 UTC | |
by Corion (Patriarch) on Oct 04, 2011 at 08:35 UTC | |
by Anonymous Monk on Oct 04, 2011 at 09:01 UTC |