[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Removing blanks
- Subject: [ale] Removing blanks
- From: lists at serioustechnology.com (Geoffrey)
- Date: Fri, 22 Jan 2010 11:40:48 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
Terry Bailey wrote:
> Hi,
>
> Does anyone know how to use either a command or batch file to change
> all the blanks in a file name to another character?
>
> I thought maybe sed would work, but if so, I have not been able to
> figure it out.
cat filename |tr " " "$NEWCHARACTER"
>
> Thanks,
>
> Terry Bailey
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
--
Until later, Geoffrey
"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson