[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Akim Demaille <address@hidden>] Re: Shell crash on SunOS 4.1.3

From: Akim Demaille
Subject: Re: [Akim Demaille <address@hidden>] Re: Shell crash on SunOS 4.1.3
Date: 26 Jan 2001 13:06:23 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

>>>>> "Harlan" == Harlan Stenn <address@hidden> writes:

Harlan> Akim, Here's the sh -x testsuite snippet.

Thanks, this is the culprit:

  at_dir=`cd "$at_dir" 2>/dev/null && pwd`

because PATH may include nonexistent dirs, I included the 2>/dev/null

Can you try these please?  I'd like to know if the problem is with the
assign or the substitution, etc.

at_dir=`(cd /foo && pwd) 2>/dev/null`
echo at_dir=$at_dir

at_dir=`(cd /foo && pwd)` 2>/dev/null
echo at_dir=$at_dir

echo `(cd /foo && pwd) 2>/dev/null`

echo `(cd /foo && pwd)` 2>/dev/null

at_dir=`echo foo 2>/dev/null`
echo at_dir=$at_dir

at_dir=`echo foo` 2>/dev/null
echo at_dir=$at_dir

echo `echo foo 2>/dev/null`

echo `echo foo` 2>/dev/null

reply via email to

[Prev in Thread] Current Thread [Next in Thread]