From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <95dfc7de0611271028m7cadc3y7a7931dc5c107dfd@mail.gmail.com> Date: Mon, 27 Nov 2006 13:28:55 -0500 From: "Myron Cheung" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_122040_15782660.1164652135120" Subject: [9fans] question about wildcard expansion in RC Topicbox-Message-UUID: e748e31c-ead1-11e9-9d60-3106f5b1d025 ------=_Part_122040_15782660.1164652135120 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline >>From within a terminal, I type: % echo (/dev/sdC0) /dev/sdC0 % echo (/dev/sdC*) /dev/sdC0 /dev/sdC0 % test -f /dev/sd*/swap test: unexpected operator/operand: /dev/sdC0/swap Older versions of 'test' do not complain about the unexpected operator/operand and worked in termrc. But the recent version of "test" fails, as a result, the swap partition is not mounted. /Myron ------=_Part_122040_15782660.1164652135120 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline >>From within a terminal, I type:

% echo (/dev/sdC0)
/dev/sdC0

% echo (/dev/sdC*)
/dev/sdC0 /dev/sdC0


% test -f /dev/sd*/swap
test: unexpected operator/operand: /dev/sdC0/swap



Older versions of 'test' do not complain about the unexpected operator/operand and worked in termrc.  But the recent version of "test" fails, as a result, the swap partition is not mounted.

/Myron
------=_Part_122040_15782660.1164652135120--