[Techtalk] real life kewl text-processing and regexps samples
wanted
Brenda Bell
k15a-list-linuxchix at theotherbell.com
Sat Jan 10 00:48:19 EST 2004
On Sat, 10 Jan 2004 04:28:16 +0100
Daniel wrote:
> On Fri, Jan 09, 2004 at 08:19:21PM -0500, Brenda Bell wrote:
> > cat dos-file.txt | sed -e '1,$s\^M\\g' >linux-file.txt
> > cat test.txt | cut -d= -f1
>
> Randal, where are you?
> http://rhols66.adsl.netsonic.fi/era/unix/award.html#cat
LOL. I'm so used to using cut to process the output of other
commands, I didn't even notice this. I suppose an example like
"uniq test.txt | cut ..." would have avoided me this little
red-faced moment :)
Brenda Bell
Henniker (the only one on earth)
New Hampshire (the state with 5 seasons: black fly, tourist, foliage, ski and mud)
More information about the Techtalk
mailing list