Subject: RE: Bash problem
From: [email-masked] (Pavel Tzekov)

18 Nov 1997 01:30:30 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
To: "[email-masked]" <[email-masked]>,
        "'Volker Zell'"
	 <[email-masked]>

Hi there!

It worked just fine for me -- I'm using b18 no updated sources,patches,
etc.
----------
From: 	Volker Zell[SMTP:[email-masked]]
Sent: 	15 Íîåìâðè 1997 ã. 20:33
To: 	[email-masked]
Subject: 	Bash problem

The following two lines of code work on the command line but not if executed from a shell script.

vzell:/usr/bin> myls=`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=`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
"[email-masked]" with one line of text: "help".