Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'View a Lord of the Rings timeline easter egg in calendar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
View a Lord of the Rings timeline easter egg in calendar
Authored by: lukec on Jan 13, '04 04:15:08PM

You're right in that it is unnecessary to use 'cat' in many cases. If I were writing a shell script I would be very scrutinous of the excessive usage of 'cat' or 'grep' or 'awk' (or any other tool) especially in a loop. With experience comes a more evolved usage of the command line.

Consider that the novice CL user will get much faster results if they program in a way that is intuitive to them. The 5 additional miliseconds it takes to spawn an additional instance of cat is quite negligable compare to the 5 extra seconds it would take to change their original code to adhere to the 'correct' way of doing things.

You want speed ? program in C or assembly.

All who are new to the command line - Keep up the good work!

Luke



[ Reply to This | # ]