Complete.Org: Mailing Lists: Archives: linux-help: August 2000:
[linux-help] Re: program won't execute.
Home

[linux-help] Re: program won't execute.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: program won't execute.
From: Carl D Cravens <raven@xxxxxxxxxxx>
Date: Mon, 7 Aug 2000 20:03:14 -0500 (CDT)
Reply-to: linux-help@xxxxxxxxx

On Mon, 7 Aug 2000, mjacobs wrote:

> I think you nailed it with th dos/unix cr/lf issue. if I cat the file
> and paste it into a new vi window that script now runs.  Is there a
> utility that will do this for other files without pasting?

Glad to be of help.

Try 'tr'.  If you
   tr -d '\013' <infile >outfile
that should take care of it. 

I was thinking that there was a pair of utilities specifically for this
(unix2dos, dos2unix) but I must have used those on BSD/OS.

--
Carl D Cravens (raven@xxxxxxxxxxx)
BASIC programmers never die, they GOSUB without RETURN.


-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]