Hello all,

yesterday I wanted to try out rc-httpd on p9p&linux. There, in an rc
script was sth along the following lines:

file = aaanamebb
a = name
if(~ $file *$a*) echo y

and the script returned

rc: null list in concatenation

I wrote to the author that I believe he should have written *$a^* in
the condition.

Nonetheless I have 2 questions:
1) if *$a* is left there, is the meaning really: whatever_non_blank +
contents of $a + literal * ?
2) it took me some time to localize where the problem was since the
only output of the script was what I wrote above; so I went commenting
& uncommenting... Is there any better way? Can rc be told to give some
more helpful info?

Thanks
Ruda

Reply via email to