[SunHELP] ***dos2unix for multiple files ***
Jim Pennino
jimp at specsol.com
Thu Jun 5 17:48:02 CDT 2003
On Thu, Jun 05, 2003 at 06:36:44PM -0400, Yaldapalli, Haribabu wrote:
> I want to convert multiple files from dos2unix command. I tried using
> >dos2unix *.* but it fails and shows me the usage as
>
> usage: dos2unix [ -ascii] [ -iso] [ originalfile [ convertedfile ] ].
>
> How do I convert all files in the directory in a single go ?
>
> Haribabu
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
for file in *
do
dos2unix $file $file
done
--
Jim Pennino
More information about the SunHELP
mailing list