--- Sandip Bhattacharya [EMAIL PROTECTED] wrote:
a) for x in dir/*; do dos2unix $x ; done
(Instead of dos2unix you can use your own
commandline as yo had done
before)
Cool, but does not recurse through subdirectories !
No. This is because the shell creates a different
parallel
On Thu, Aug 01, 2002 at 02:36:31AM -0700, Amol Rao thundered from the skies thus:
Thanks Sandip,
find dir/ -exec dos2unix {} \;
I tried this but the code would not respond. Maybe
dos2unix not getting arguments. Is it ?
Try :
find /usr/local -type f -exec wc -c {} \;
Should give you
People,
1) cat dosFile | tr -d '\015' unixFile removes
'\015' from dosfile and put it in the unix file, can
anybody suggest me a similar way to do that on the
folder. No temp files please, I am gonna have some
really big folders.
2) And why does not variable exported in the same
command be