From: John-Paul Stewart (jpstewart_at_binaryfoundry.ca)
Date: Fri, 22 Apr 2005 11:04:32 -0400
Rod Engelsman wrote:
> Moe Trin wrote:
>>In that shell, I'm averaging 0.7 pipes every time I hit the <Enter> key.
>>That's actually a bit high - it's normally about 300 per thousand. But
>>windoze doesn't have a 'tail', 'sed', 'tr', 'awk', 'cut', 'column' or
>>any one of the thousand different commands found on a dumb *nix. You
>>can get those commands elsewhere (well at least some of them), but the
>>average windoze user doesn't know why they might be useful. Instead,
>>they'll buy an application to parse their toy firewall log, or worse,
>>will download some infected freebie, and then wonder why their computer
>>is dialing in to some "spy" site using a connection direct through the
>>Nigerian Telephone Company at only six dollars a minute.
> Those commands are sort of neat I guess, but all they're really good for
> is manipulating text files. Big whoop. That's just not something that I
> need to a lot of. Can sed take the redeye out of my digital camera
So you maybe don't need sed and awk. But take a look at ImageMagick for
manipulating images. I know of one person who spent days in Paint Shop
Pro making thumbnails of every image in a directory (over 1000 images).
That becomes a one-line script in a good shell with the right command
line utilities (ImageMagick).
Basically anything (text editing, image manipulation, whatever) that has
to be done repeatedly in the way to multiple files is more easily done
on the command line than in a GUI (IME).
Sed, awk, ImageMagick, etc., are just a few examples of things you can
use on the command line, not an exhaustive list. So just because the
previous poster was only manipulating text files do not assume that that
is all you can do on the command line.