From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 13 Mar 2010 11:45:15 +0100 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] watching plumber Topicbox-Message-UUID: e7b35662-ead5-11e9-9d60-3106f5b1d025 Hello, having a rule in lib/plumbing with the action plumb start 9 cat /home/ruda/CALC/manu/$1_source | plumb -i -d edit -a action=showdata I am getting this message when it is used /home/ruda/CALC/systems/ni4ni4ni4_264_fcc001_2/rotxy/Cxy.eps /home/ruda/CALC/systems/ni4ni4ni4_264_fcc001_2/rotzx/Czx.eps cat: can't open |: No such file or directory (somehow it appears in the terminal) what am I doing wrong? Also, as I am using p9p now, I don't know who interprets the part after the 'plumb start'. I first, believing that rc does the job, had e.g. cat /home/ruda/CALC/manu/^$1^_source there (note the ^s), but then those ^s stayed intact in the name (which wasn't naturally found). Btw. It quite surprised me that a line beginning with # is considered as an empty line instead of being ignored. Thus when I commented out a line inside a block of rules, the block was disintegrated into two, which really didn't work. (So one must not comment out anything inside a block, i.e. between the rules.) Thanks for any comments! Ruda