I updated my system last night with "pull", and the test.c program has been fixed. /Myron On 11/28/06, Robert Raschke wrote: > > Myron wrote: > >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. > > > > I got this a while back as well, and decided to rewrite that part of my > termrc/cpurc: > > disk='' > for(d in /dev/sd??) > if(~ $disk '') > if(test -f $d/swap) > disk=`{ls /dev/sd*/swap >[2]/dev/null | > sed 1q | sed 's!swap$!!'} > if(! ~ $disk '') > swap $disk^swap >/dev/null >[2=1] > > > Robby > > -- > "Weg damit" is german for "get rid of this". > > >