[H-GEN] Script E-book ?
David Duffy
david at audiovisualdevices.com.au
Sat Feb 21 19:15:15 EST 2009
Hi all,
I'm trying my hand at writing shell scripts to use on my Debian box. I
have experience in a few programming languages, and am looking for some
script tutorials.
I've searched online and have found enough examples and docs to get me
started (loops, if then, echo, exit, etc) but can't figure out how to
split a directory name into it's parts.
eg: From the directory "/foo/bar/" I want to just get "bar" (and add an
extension) so I can use that in my script as a filename.
David...
--
___________________________________________
David Duffy Audio Visual Devices P/L
Unit 8, 10 Hook St, Capalaba 4157 Australia
Ph: +61 7 38235717 Fax: +61 7 38234717
Our Web Site: www.audiovisualdevices.com.au
___________________________________________
More information about the General
mailing list