Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!cps3xx!usenet From: usenet@cps3xx.UUCP (Usenet file owner) Newsgroups: comp.os.minix Subject: MINIX1.2 shell-problem Keywords: command substitution in shell, MINIX 1.2 (640K-PC) Message-ID: <1833@cps3xx.UUCP> Date: 15 Feb 89 02:02:42 GMT Expires: 14 Mar 89 05:00:00 GMT References: none Reply-To: rattan@frith.egr.msu.edu () Followup-To: rattan@frith.egr.msu.edu Organization: Michigan State University Lines: 17 In MINIX 1.2 (640K-PC version) the shell has problems with command substitution unlike the Bourne shell under UNIX: list=`ls /usr/bin` fails with the message asld: can't open basename echo $list ar It seems that it tries to execute the second element of the from the output of execution of 'ls /usr/bin', whereas it supposed to assign the string obtained by executing 'ls /usr/bin' to variable list. It seems to be a shortcoming of the shell --- any help/opinion/pointers to fix the problem will be appreciated. -- ishwar rattan (rattan@frith.egr.msu.edu)