[Dclug] useful shell commands

Bruce Israel israel at tux.org
Tue Oct 19 10:03:23 EDT 2010


On Mon, Oct 18, 2010 at 06:44:04PM -0400, Jon LaBadie wrote:
> 
> Maybe this tiny submission will restart the discussion.
> 
> I switched the Subject to "shell" commands rather than
> "bash" commands because I prefer a different shell :)

Excellent idea!

> Like your 'pmark' script, my 'addcol' script appeared
> in the late, lamented, magazine "Unix Review".  Addcol
> is a combination of shell and awk.  The shell code
> collects data and options to pass into the awk code.

I like it.  Mine was called 'colsum':

# Usage:
#    ... | colsum [ -F <column-separator> ] [ column-numbers ]

but as you can see from the above, yours is more featureful.

Bruce


More information about the Dclug mailing list