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 t


Hi,

another solution is:

for i in *.exe
do
mv $i `basename $i .exe`
done

Best regards and a nice day,

Robert

 -----Original Message-----
From: mortene@sim.no [SMTP:MIME @INTERNET {mortene@sim.no}]
Sent: Mittwoch, 18. August 1999 16:39
To: OJOHANS@statoil.com
Cc: crossgcc@sourceware.cygnus.com
Subject: 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





--- Because CAD-UL Tools Work!

----------------------------------------------------------
Computer Aided Design Ulm GmbH	Phone	+49-7305-959-200
Lämmerweg 32			Fax	+49-7305-959-222
89079 Ulm, Germany		Email	  sales@cadul.com
					support@cadul.com
----------------------------------------------------------


------
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]