On Mon, Oct 31, 2005 at 05:00:32PM -0800, Carl Lowenstein wrote: >As a side comment, I do not think much of a utility program that >requires me to write a Perl expression on the fly to accomplish >something. I would rather write a shell script.
you confused me a bit, at least I missed the number bit as part of the requirement. and as far as perlregex goes, I duno, typically I need to put .txt on the end so M$ people can read them, or some times I change my mind about how to name a set of files and stick a suffix in there, another thing it works great for is duplicating a bunch of .qmail files, cp to tmp, then rename with a different vdomain pattern back into $HOME. rename 's/.qmail-domain-/.qmail-newdomain-/' .qmail-domain-* mv .qmail-newdomain-* $HOME yeah anything complicated deserves a shell script, btw I've found ash is real close to Bourn /bin/sh for when compatible scripts are required. (Will sumarize my remote backup thoughts in about 36 hrs...) // George -- George Georgalis, systems architect, administrator <IXOYE>< http://galis.org/ cell:646-331-2027 mailto:[EMAIL PROTECTED] -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
