Re: scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux