From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Tue, 5 Jul 2011 09:31:43 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: [9fans] debugging rc Topicbox-Message-UUID: fa9515e4-ead6-11e9-9d60-3106f5b1d025 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