[wellylug] simple super basic bash question
jumbophut
jumbophut at gmail.com
Tue Dec 21 17:00:34 NZDT 2004
On Mon, 20 Dec 2004 16:57:06 -0800 (PST), Brent Wood wrote:
>
> --- Mark Signal <mark at databackup.co.nz> wrote:
>
> > I had never heard of paste
>
> If you do lots of shell scripting & don't use perl there are lots of little
> text processing/formatting commands available. Good luck finding them though
> :-(
>
> tr, sed, cat, cut, paste, merge, grep & awk at least...
>
If you think of cut as 'select', grep/sed as 'where', join as 'join',
you've got a relational database from bash. It does actually work
too, for very simple problems.
Brilliant tutorials for some of the text tools here:
http://www-106.ibm.com/developerworks/edu/l-dw-linux-lpir22-i.html?S_TACT=104AHW03&S_CMP=EDU
(one section only)
http://www-106.ibm.com/developerworks/edu/l-dw-linux-gnutex-i.html?S_TACT=104AHW68&S_CMP=LINUXLPBB
Cheers
Tony
--
Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /l at omcgtjuba.phi/')
More information about the wellylug
mailing list