On Fri Nov 20 05:26:26 EST 2009, mauricio.antu...@gmail.com wrote:
> Hi, all,
> 
> I found 'werc' in a wikipedia link, and used it
> as a source for examples of how to use rc. Are there
> other places where I can found rc scripts, as well
> as other scripts for plan9 tools?

here are the scripts from the plan 9 distribution.
        http://sources.coraid.com/sources/plan9/rc
and plan 9 ports
        http://code.swtch.com/plan9port/src/tip/bin/

> (By the way, do you know how can I attribute a
> here document to a variable?)

minooka; x=`{cat <<h}
1
2
3
h

since here docs are redirection, quoting is probablly
easier to use.  also if you're assigning a variable to
the here doc, you're missing the one advantage they
have: reduced memory usage.

- erik

Reply via email to