From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 16 Dec 2008 11:38:16 -0500 To: 9fans@9fans.net Message-ID: <374746928307662c140f9605a255bf14@coraid.com> In-Reply-To: References: <31b7dfbe989528c1e4cebd8f89eb64e2@quanstro.net> <00c6aae8ce2767baa34373ed1c3c169d@9grid.es> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] sam/rc script problem Topicbox-Message-UUID: 62cb89fc-ead4-11e9-9d60-3106f5b1d025 On Tue Dec 16 11:25:21 EST 2008, rudolf.sykora@gmail.com wrote: > Well, > thanks so far for answering my PS... > ... but what about my main question? > :) > Has anybody encountered it? > Ruda i think rc is interpreting $ as a here document variable and messing up. this is one of the reasons i really don't like here documents. (i don't think they should be in the shell at all.) how about this: echo '$-/FERMI/+-' | sam -d outit>[2]/dev/null if you really want to use a here document, i believe the wierdo escape is '$$'. as in ; sam -d outit <