[plug] Remove first sp[ac]e in a filename

Jason Nicholls jason at mindsocket.com.au
Thu Jul 12 12:12:07 WST 2001


Hey,

On Thu, Jul 12, 2001 at 11:54:45AM +0800, Trevor Phillips wrote:
> Hmmm, I deleted the earlier posts of this, but if the subject line is to be
> taken verbatim, then the solution I'd use would be:
> 
> rename 's/ //' filename
> 
> Rename is a damn handy utility!!

Note that rename is not included in RH6.x or earlier releases. I found this
out as the RH7.x Apache packaged required rename during the build process (on
a RH6.2 box).


Regards,

Jason Nicholls
--------------------------------------------------------------------
Jason Nicholls    icq: 11745841    email: <jason at mindsocket.com.au>
Proprietor                        mobile: 0417 410 811
Mind Socket [web services]          http://www.mindsocket.com.au/
--------------------------------------------------------------------



More information about the plug mailing list