extract string from filename
Tom Buskey
tom at buskey.name
Fri Jan 13 09:25:01 EST 2006
On 1/12/06, Ben Scott <dragonhawk at gmail.com> wrote:
>
> On 1/12/06, Zhao Peng <greenmt at gmail.com> wrote:
> > I'm back, with another "extract string" question. //grin
>
> It sounds like you could use a tutorial on Unix text processing and
> command line tools, specifically, one which addresses pipes and
> redirection, as well as the standard text tools (grep, cut, sed, awk,
> etc.). While Paul's recommendation about the O'Reilly regular
> expressions book is valid, I suspect it might be a little too focused
> on regex's and not cover some of the *other* elements you seem to be
> needing.
>
> It's been forever for me, but I seem to recall that _Unix Power
> Tools_, also published by O'Reilly, covers all of the above and much,
> much more. If others on this list second my suggestion, you might
> want to obtain a copy. Alternatively, maybe list members can suggest
> alternatives?
Unix Shell Programming by Kochan and Wood is a classic on shell programming
Portable Shell Programming by Blinn
The Awk Programming Language by Aho, Weinberger and Kernighan
Power Tools is excellent but it more of a tip book in my mind. Not as much
as the Hack series though.
There are also a number of free guides at the Linux Documentation
> Project. See:
>
> http://www.tldp.org/guides.html
>
> Look for anything mentioning "bash" (the Bourne-again shell) or
> scripting. I can't speak as to how good they are, but you can't beat
> the price.
Some of them are very good. And the examples work.
--
A strong conviction that something must be done is the parent of many bad
measures.
- Daniel Webster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20060113/0308b810/attachment.html
More information about the gnhlug-discuss
mailing list