Hi,

On 05/05/17 14:34, Craig Sanders via luv-main wrote:
> On Thu, May 04, 2017 at 02:42:00PM +1000, Andrew McGlashan wrote:
> or you could just set nullglob in the script.

Okay.

> but, really, why write a 58 line shell script when a oneliner rename command
> (or 2 or 3 lines when reformatted for readability) is all that's needed?

Yes, but most of my script was to setup the test and show comments; the
actual lines that did the work were not significant.  The script was
easy to understand with just a little study and I'm sure it gives Mark
exactly what he actually needs without complicating anything with regex foo.

And what's more, I did interpret what Mark had wanted quite well from
his initial description, his later ls output showed files that would
work perfectly well with my script.

Cheers
A.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to