[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: scripts
- From: Guy Fraser <guy incentre net>
- To: fedora-list redhat com
- Subject: Re: scripts
- Date: Fri, 03 Mar 2006 14:10:49 -0700
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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]