ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Is Linux Annoying?
Subject:   That darned cat...
Date:   2003-09-12 09:48:42
From:   anonymous2
Many Linux Annoyances cease to be annoyances when you learn more about what's possible with the various Linux tools. For example, in your article you show us the following string of commands:

$ cat install_cd_1.txt | grep libxml | less

Since the grep command can take a filename as a parameter the cat is entirely superfluous, and the string can be rewritten as:

$ grep libxml install_cd_1.txt | less

So remember: if the cat's not doing anything, boot it out!

Garry Knight
garryknight@gmx.net ICQ 126351135
Linux registered user 182025