From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Wed, 27 Feb 2013 17:06:35 +0100 Message-ID: <12629769.4igoszc5pW@coil> User-Agent: KMail/4.10 (Linux/3.8.0-rc7-l49; KDE/4.10.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [9fans] rc script question Topicbox-Message-UUID: 2071aa38-ead8-11e9-9d60-3106f5b1d025 On Wednesday 27 of February 2013 15:41:58 Steve Simon wrote: > This i did not expect > =09echo a b c | rc -c 'echo @ $(2-) @' > =09@ @ rc -c 'shift; echo @ $* @' `{echo a b c} surprisingly, * can be assigned to. echo a b c | rc -c '*=3D`{read}; shift; echo @ $* @' echo a b c | rc -c '*=3D`{read}; echo @ $*(2-) @' --=20 dexen deVries [[[=E2=86=93][=E2=86=92]]]