[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Easy bash question
On Mon, 2003-10-27 at 11:14, José Luis Gómez Dans wrote:
> This is fine, but my_file.eps turns out to be my_file.eps.fig,
> which is not aesthetically pleasing (and obviously a source of much
> annoyance :D)
rename 's/\.eps//' *.fig
.. is a way around it, easier than p'ing around with sed :)
All hail Perl.
Cheers,
Alex.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.