delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/07/13:38:38

Date: Fri, 7 Feb 2003 18:36:48 GMT
From: abc AT anchorageinternet DOT org
Message-Id: <200302071836.h17IamZQ092746@en26.groggy.anc.acsalaska.net>
X-Authentication-Warning: en26.groggy.anc.acsalaska.net: abc set sender to abc AT anchorageinternet DOT org using -f
Subject: Report a Bug (#! bash bug)
X-Mailer: Umail v2.9.2
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com

>    Enter a one-line abstract of the problem below.

     #! bash bug when script has options.

>    What version did you see this bug in? [2.03]

>    Enter a description of the problem below. You will have an opportunity
>    to append a workaround or solution later.

     #!/bin/bash /path/to/sh/script option

     the above fails as if it was written:

     #!/bin/bash "/path/to/sh/script option"

     if you take the option away, all works fine.
     there is no problem with this in RH Linux or FreeBSD.
     /path/to/sh/script needs the option to run correctly.

     the error produced with an option is:

     /path/to/sh/script option:  /path/to/sh/script option:  no such
     file or directory (ENOENT)

>    Before submitting this form, ask yourself - did you ask this question
>    in comp.os.msdos.djgpp or djgpp AT delorie DOT com first? If not, why not?
>    You should do that, and wait for an answer, before using this form.

     ok.  i almost didn't do this because i don't have news access,
     and i didn't see an email link until i had my bug report all
     typed up ...  thanks for letting me know :)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019