This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygwin -> Linux crosscompiler, How to use it?


On Wed, 18 Aug 1999, Řystein O Johansen wrote:

> Question 2:
> This is more a BASH question. How can I remove the .exe extention in a easy
> way? Have anyone made a simple script for this?

From the bash command line:

for i in *.exe; do HEPP=`echo $i | sed 's/\.exe$//'`; mv $i $HEPP; done

(..if you have sed installed.)

Regards,
Morten Eriksen


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]