[xngr-dev] [ xngr-Bugs-660331 ] CR in .sh script causes problems

[email protected] Tue, 31 Dec 2002 02:27:52 -0800
Newsgroups gmane.editors.xngr.devel
Message-ID <[email protected]>
Bugs item #660331, was opened at 2002-12-31 02:27
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=445486&aid=660331&group_id=46235

Category: None
Group: 0.9
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: CR in .sh script causes problems

Initial Comment:
Donwloaded xngr-setup-v09.tar.gz, tried to run ./xngr.sh:
: bad interpreter: No such file or directory

I found that it is because of windows-like line endings
in script, with character CR (ASCII 13), that is taken
as part of shell name, before LF (ASCII 10) is reached.

The same problem was on line that runs java
interpreter, behind "xngr-browser.jar" there is CR that
is considered as part of archive name.

I use RedHat Linux 7.3.

[email protected]


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=445486&aid=660331&group_id=46235


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf