"Christopher Martin" <[EMAIL PROTECTED]> writes: > So, then, I try and use a "for" loop in a script with gzcat, but then I just > can't get the swing of getting the truncated string outputted from "expr" > and finally got the irrits with the whole process, because there's surely a > better way.
Is this what you want? truncname=`basename $i .gz` -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html