From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <1450673.A5MVcxN6dG@coil> <4ogvg9xkdh.ln2@news.homelinux.net> Date: Wed, 29 Aug 2012 16:34:31 +0100 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b670a9d8eae5404c8694bb4 Subject: Re: [9fans] rc vs sh Topicbox-Message-UUID: b38f3f0c-ead7-11e9-9d60-3106f5b1d025 --047d7b670a9d8eae5404c8694bb4 Content-Type: text/plain; charset=UTF-8 I have an rc script, allowing u ./configure, u make, u man, ... % cat bin/u #!/bin/rc SHELL=/bin/sh path=(/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/bin/X11 /usr/games) MANPAGER=/bin/cat exec $* On 29 August 2012 16:22, hiro <23hiro@gmail.com> wrote: > For compatibility I use ash in xterm and rc in 9term ;) > > --047d7b670a9d8eae5404c8694bb4 Content-Type: text/html; charset=UTF-8 I have an rc script, allowing u ./configure, u make, u man, ...

% cat bin/u
#!/bin/rc
SHELL=/bin/sh
path=(/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/bin/X11 /usr/games)
MANPAGER=/bin/cat
exec $*


On 29 August 2012 16:22, hiro <23hiro@gmail.com> wrote:
For compatibility I use ash in xterm and rc in 9term ;)


--047d7b670a9d8eae5404c8694bb4--