scripting fun

Smoot Carl-Mitchell smoot at tic.com
Fri Jun 6 17:39:44 UTC 2008


On Thu, 2008-06-05 at 18:06 -0700, Steve Lamb wrote:

>     Python, Ruby, Perl, all better suited to this task simply because you
> don't have to worry about the shell doing something wicked with your data as
> it streams hither and yon.

I agree. When I get beyond a 3 stage pipeline, I generally will write
something in Perl because I have much finer control in a procedural
language.  However, for quick and dirty task, it is hard to beat the
shell with its built in access to the underlying process creation,
pipelining and I/O redirection mechanism of the operating system.
Remember, the Unix philosophy is to write simple tools which can be
pipelined together to perform more complex tasks.

-- 
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list