Re: Command line assistance needed



"Chris F.A. Johnson" <cfajohnson@xxxxxxxxx> writes:

On 2006-07-16, ~David~ wrote:
[ snip ]

cat filenames* | grep string-here

UUOC (useless use of cat).

No it isn't, filenames* may be more than one file, in which case cat
will conCATenate them, as it is supposed to.

[ snip ]

--
... __o Øyvind
... _`\(, http://www.darkside.no/olr/
... (_)/(_) ... biciclare necesse est ...
.



Relevant Pages

  • Re: Sysmask security challenge: useful or not?
    ... at least without first testing with ls and cat. ... A stupid bug in the sysmask package. ... > more useless things to play with and would waste more time. ... Doing everything via a web form is not very ...
    (comp.os.linux.security)
  • Re: element addition
    ... award. ... it is a place-holder for an unspecified other command. ... use of cat in this manner can keep the data flow ... strictly necessary, perhaps, but far from useless. ...
    (comp.lang.perl.misc)
  • Re: Sysmask security challenge: useful or not?
    ... It is true that tests using ls and cat don't prove anything and are ... A stupid bug in the sysmask package. ... A nasty bug in the kernel, leading to a privilege elevation. ... more useless things to play with and would waste more time. ...
    (comp.os.linux.security)
  • Re: syslog
    ... > UUOC is Usenet for "useless use of cat". ... the grep process gets a pipe on stdin, ...
    (comp.unix.solaris)
  • Re: Command line assistance needed
    ... UUOC (useless use of cat). ... will conCATenate them, ... You can use multiple filenames as arguments to grep; ...
    (alt.os.linux)