in reply to Re: cut vs split (suggestions)
in thread cut vs split (suggestions)

cat numbers.csv | ...
If this were a Unix newsgroup, I'd point out the useless use of cat here.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^3: cut vs split (suggestions)
by Mabooka-Mabooka (Sexton) on Apr 17, 2005 at 23:09 UTC
    LOL:-). Thanks for the article: haven't seen it.

    Actually, the main purpose of cat for me is not to memorize all keys of grep. E.g:
    Mabooka % grep -w awk *awk* | sort | uniq | wc -l 10 Mabooka % cat *awk* | grep -w awk | sort | uniq | wc -l 8 Mabooka %
    It's also good for the prev. command reuse. As for the performance implication: it's minimal (smb. has to do disk i/o anyway).