From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <63ad87826698c76996628eaa50699e64@ladd.quanstro.net> References: <53567454.2050509@gmail.com> <535810E5.1010507@gmail.com> <63ad87826698c76996628eaa50699e64@ladd.quanstro.net> Date: Thu, 24 Apr 2014 07:15:28 +0300 Message-ID: From: Alexander Kapshuk To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] writing to /dev/$winid/addr Topicbox-Message-UUID: db4b9a9e-ead8-11e9-9d60-3106f5b1d025 That's OK. It's actually ksh on AIX. Thanks for your feedback anyway. On Wed, Apr 23, 2014 at 10:34 PM, erik quanstrom wrote: >> >>> #!/bin/rc >> >>> { >> >>> echo 'echo $SYSNAME!`uname -n`!$USER' >> >>> echo 'PS1='':; '' PS2='' ''' >> >>> } >/dev/$winid/body >> > this is not valid rc. >> > >> > - erik >> > >> If it's not too much trouble, would you mind demonstrating what valid rc >> would be for the part of the script in question. > > i'm wrong of course if the shell you're running is bash, > the script itself is reasonable rc. i was confused by an > rc script emitting bash. > > - erik >