[Gllug] Dumb shell question

pauln at truemesh.com pauln at truemesh.com
Sat Jan 19 18:49:57 UTC 2002


On Sat, Jan 19, 2002 at 06:44:42PM +0000, John Hearns wrote:
> Folks,
> I just know this question has an obvious answer, and I will
> kick myself when someone says it.

Check for dos type line endings.

file /path/to/script

if it is a CR/LR file (you could also cat -A it, but we don't talk about
cat do we...)

then dos2unix, recode, perl oneliner it fixed.

That's what it sounds like from previous similar problems to me...

Paul

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list