You can also use 'find' to recursively execute unix2dos. There's at least
one example using the 'exec' option in the man pages.
find . -exec unix2dos {} \;
Ciao,
Dee
P.S. That was *NOT* a complicated PERL script. OTOH, PERL has been described
as a "write only" language (and for good reason).
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ehsan Akhgari
Sent: Monday, March 15, 2004 3:32 PM
To: [EMAIL PROTECTED]
Subject: RE: [msvc] [Possibly OT] toggle line endings
> Will unix2dos not do it? This should be a really simple app to write
> if it doesn't.
Of course it will. I just didn't know about it. I already have a script
(for Windows) which recursively visits directories and files and executes a
command on them - so I guess now I have what I want by combining these two.
Thanks a lot!
-------------
Ehsan Akhgari
Farda Technology (http://www.farda-tech.com/)
List Owner: [EMAIL PROTECTED]
[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]
_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for
subscription changes, and list archive.