This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

RE: binary/text files under cygwin


find . -type f -exec sh -c "tr -d '\r' < {} > flibble" \; -exec mv flibble
{} \;

-----Original Message-----
From: Simon Sudler [mailto:sudlersn@iis.fhg.de]
Sent: Wednesday, October 24, 2001 7:44 AM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] binary/text files under cygwin


Hi,

i try to compile the binutil/gcc/insight-tools for a arm-elf processor
under cygwin. But i have problems with the files....
in the ecos-discuss archive i found a bash-script that should change all
files into text files:

Administrator@EP313 /src
$ find . -type f -exec tr -d '\r' < {} > flibble \; -exec mv flibble {}
\;
bash: {}: No such file or directory

Administrator@EP313 /src
$

does someone no witch wildcard i have to use ?

Thanks
Simon Sudler


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