scripts
Guy Fraser
guy at incentre.net
Fri Mar 3 21:10:49 UTC 2006
On Thu, 2006-02-03 at 20:18 +0000, azeem ahmad wrote:
> hi list
> i got some scripts. their behavior is much wierd, they dont execute, when i
> run them they say
> bad interpreter
> and if i open them and copy them into a new file which i create using vi
> then the same script executes.
> it seems to be a problem of encoding like ASCII etc
> can i change them using any tools
> any suggestions
> Regards
> Azeem
>
You can run :
dos2unix *script*
Where *script* is the script file to fix.
dos2unix is either in the dos2unix package or the unix2dos
package.
More information about the fedora-list
mailing list