Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: ideablitz
so, you think
convert $img $img-.gif is more convinient.

I'm not the original poster, but you missed the point. You've got many files to convert, let's say 100. How do you use what comes with Windoze to convert each one without having to click on each file in turn?

I had a similar issue at work (defense contractor). We had dozens of log files that were the outputs from several runs of our software, all stored in a directory structure based on machine name and date. I needed to extract a particular set of log messages from each file. With a GUI it would have been a several day project: first run a find to locate all matching log files, then open each file in turn and search for the particular log messages, highlight them and copy & paste into another file. Repeat thousands of times. Instead I used a combination of bash shell commands, grep, awk, and sed and completed the task in one hour.

Sometimes the command line is a much more powerful tool than the GUI.

P.S. Running FireFox 1.0 and default settings: I get no pop-ups from drudgereport.com

72 posted on 11/23/2004 5:08:42 AM PST by whd23
[ Post Reply | Private Reply | To 66 | View Replies ]


To: whd23
Sometimes the command line is a much more powerful tool than the GUI.

Sure, but what does that have to do with Windows/Linux debate? You could have written that in Perl instead of bash shell commands, grep, awk, and sed. (can also get bash/awk/sed/grep for windows, but Perl would probably be easier to maintain and cross platform). Doesn't have to have a GUI to run in Windows and doesn't have to use a CLI to be Linux.

-paridel
118 posted on 11/23/2004 12:47:40 PM PST by Paridel
[ Post Reply | Private Reply | To 72 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson