|Perl: the Markov chain saw|
Re: perl one liner for csv file one fieldby eyepopslikeamosquito (Bishop)
|on Jan 17, 2015 at 05:49 UTC||Need Help??|
BTW, I cannot restrain myself from commenting anytime I see cat being used like this because, long ago on usenet, Tom Christiansen wrote: "If you find yourself calling cat with just one argument, you're probably doing something silly".
Following Tom's advice, I suggest you lose the cat (and the unnecessary pipe) by replacing:
The venerable Randal L. Schwartz hands out Useless Use of Cat Awards from time to time; you can see some recent examples in Deja News. (The subject line really says "This Week's Useless Use of Cat Award" although the postings are a lot less frequent than that nowadays). The actual award text is basically the same each time, and the ensuing discussion is usually just as uninteresting, but there are some refreshing threads there among all the flogging of this dead horse. The oldest article Deja News finds is from 1995, but it's actually a followup to an earlier article. By Internet standards, this is thus an Ancient Tradition.
Nearly all cases where you have:
you can rewrite it as:
and in some cases you can move the filename to the arglist as in:
Also mentioned at this site are:
Update: See also: