Hey > Better to simply redirect the input as others have suggested. > > lines=$(wc -l < README)
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. Because then people are thinking of the term less / greater than. I am aware that this is a point of discussion and if I write something for my personal use I use the '<', but if I write this in production or teaching code some one is going to come into my office and harass me just because he didn't see the ` in my Perl script. I hope this sort of clarifies my way of thinking. Cheers Didi ---- www.cern.ch/ribalba / www.ribalba.de Email / Jabber: [EMAIL PROTECTED] Phone (Work) : +41 22 7679376 Skype : ribalba Address : CERN / IT-FIO-FS / GENEVE 23/ SCHWEIZ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

