On Thu, Mar 06, 2008 at 09:12:40AM +0100, Didi wrote:
I am aware of the extra process. I decided to go for the cat way
because of readable (KISS). The '<' redirect is often confusing, for
many people, especially if the command is built into a script.

Then they probably shouldn't be programming production shell scripts. That said, you can move things around to make it more obvious at first glance that it's an input:

<file wc -l

Mike Stone



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to