delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3C6561C2.B244821E@lapo.it> |
Date: | Sat, 09 Feb 2002 18:52:02 +0100 |
From: | Lapo Luchini <lapo AT lapo DOT it> |
X-Mailer: | Mozilla 4.76 [en] (Windows NT 5.0; U) |
X-Accept-Language: | it,en,fr,es,ja |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Program behaves differently when called from script. |
References: | <200202091729 DOT NAA01024 AT taquion DOT ivic DOT ve> |
> I want to report a very strange behavior of bash (?, I really don't know), that > rmedina AT LIMON ~ > $ xmodmap .Xmodmap This is /bin/bash executing. > $ cat script > #!/bin/sh > xmodmap .Xmodmap > exit > rmedina AT LIMON ~ > $ ./script > Standard: not found > For: not found > R.: not found > FUNCTIONS:: not found > .//xmodmap: 7: Syntax error: Unterminated quoted string This is /bin/sh executing. I suppose they have a different working, try changing the "magic" line in the script to read "#!/bin/bash" C ya -- Lapo 'Raist' Luchini lapo AT lapo DOT it (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |