On Wednesday 27 of February 2013 15:41:58 Steve Simon wrote:
> This i did not expect
>       echo a b c | rc -c 'echo @ $(2-) @'
>       @ @


rc -c 'shift; echo @ $* @' `{echo a b c}

surprisingly, * can be assigned to.

echo a b c | rc -c '*=`{read}; shift; echo @ $* @'
echo a b c | rc -c '*=`{read}; echo @ $*(2-) @'

-- 
dexen deVries

[[[↓][→]]]



Reply via email to