Re: failed substitution

2006-11-28 Thread D. Bolliger
Beginner am Dienstag, 28. November 2006 11:55: [snipped for brevity, sorry] > Thanx Dani and John, > > I should have realised that the that I was making the substitiution > on the full path and not the basename. > > I appreciate you showing me how to shorten the code. Can I ask if I > am reading

Re: failed substitution

2006-11-28 Thread Beginner
On 24 Nov 2006 at 23:55, D. Bolliger wrote: > Beginner am Freitag, 24. November 2006 14:48: > > Hi, > > > > I have a number of jpegs I wanted to rename. I wrote a short script > > to do it but the new file name is not always generated correctly. The > > script should find the last letter in the fi

Re: failed substitution

2006-11-24 Thread John W. Krahn
Beginner wrote: > Hi, Hello, > I have a number of jpegs I wanted to rename. I wrote a short script > to do it but the new file name is not always generated correctly. The > script should find the last letter in the filename (before the > extension) and substitute it for '_a'. > > If you look

Re: failed substitution

2006-11-24 Thread D. Bolliger
Beginner am Freitag, 24. November 2006 14:48: > Hi, > > I have a number of jpegs I wanted to rename. I wrote a short script > to do it but the new file name is not always generated correctly. The > script should find the last letter in the filename (before the > extension) and substitute it for '_a

failed substitution

2006-11-24 Thread Beginner
Hi, I have a number of jpegs I wanted to rename. I wrote a short script to do it but the new file name is not always generated correctly. The script should find the last letter in the filename (before the extension) and substitute it for '_a'. If you look at the results below you'll see that '