delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/18/05:03:49

From: earnie_boyd AT hotmail DOT com (Earnie Boyd)
Subject: RE: Bash problem
18 Nov 1997 05:03:49 -0800 :
Message-ID: <19971118123635.26131.qmail.cygnus.gnu-win32@hotmail.com>
To: paveltz AT csoft DOT bg
Cc: gnu-win32 AT cygnus DOT com

Make sure that the version of sh.exe matches your bash.exe.  What I've 
done is to: rm sh.exe; ln -s bash.exe sh .

-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd AT hotmail DOT com-
------ooo0O--O0ooo-------

>From: Pavel Tzekov <paveltz AT csoft DOT bg>
>To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
>        "'Volker Zell'"
>	 <VZELL AT de DOT oracle DOT com>
>Subject: RE: Bash problem
>Date: Mon, 17 Nov 1997 12:13:39 +-200
>
>Hi there!
>
>It worked just fine for me -- I'm using b18 no updated sources,patches,
>etc.
>----------
>From: 	Volker Zell[SMTP:VZELL AT de DOT oracle DOT com]
>Sent: 	15 =CD=EE=E5=EC=E2=F0=E8 1997 =E3. 20:33
>To: 	gnu-win32 AT cygnus DOT com
>Subject: 	Bash problem
>
>The following two lines of code work on the command line but not if 
execu=
>ted from a shell script.
>
>vzell:/usr/bin> myls=3D`ls -lt`
>vzell:/usr/bin> echo $myls
>
>total 156
>-rw-r--r--   1 vzell    admin         177 Nov 15 19:13 t
>-rw-r--r--   1 vzell    admin        1763 Nov 15 19:08 whatis
>-rw-r--r--   1 vzell    admin        1695 Nov 15 19:06 apropos
>-rwxr--r--   1 vzell    admin       38923 Oct 11 18:19 txt2html*
>
>#!/bin/sh
>myls=3D`ls -lt`
>
>echo $myls
>
>In this case I get an empty line.
>
>Any hints ?
>
>-
>For help on using this list (especially unsubscribing), send a message 
to
>"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
>



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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