* [9fans] strange problem with an rc function @ 2010-09-19 10:24 Rudolf Sykora 2010-09-19 10:31 ` erik quanstrom 0 siblings, 1 reply; 3+ messages in thread From: Rudolf Sykora @ 2010-09-19 10:24 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs Hello I write ;fn aa {eqn $1^.ms |troff -ms | dpost -f >$1^.ps} but then ;whatis aa fn aa {eqn $1^.ms|troff -ms|>$1^.ps dpost -f} What's going on?! Thanks Ruda ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] strange problem with an rc function 2010-09-19 10:24 [9fans] strange problem with an rc function Rudolf Sykora @ 2010-09-19 10:31 ` erik quanstrom 2010-09-19 11:27 ` Rudolf Sykora 0 siblings, 1 reply; 3+ messages in thread From: erik quanstrom @ 2010-09-19 10:31 UTC (permalink / raw) To: 9fans On Sun Sep 19 06:26:41 EDT 2010, rudolf.sykora@gmail.com wrote: > Hello > > I write > ;fn aa {eqn $1^.ms |troff -ms | dpost -f >$1^.ps} > but then > ;whatis aa > fn aa {eqn $1^.ms|troff -ms|>$1^.ps dpost -f} > > What's going on?! that's just how td decided that rc should deparse commands. i/o redirections come first. you will notice that the deparsed function is functionally equal to your original. - erik ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] strange problem with an rc function 2010-09-19 10:31 ` erik quanstrom @ 2010-09-19 11:27 ` Rudolf Sykora 0 siblings, 0 replies; 3+ messages in thread From: Rudolf Sykora @ 2010-09-19 11:27 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs > that's just how td decided that rc should deparse commands. > i/o redirections come first. you will notice that the deparsed > function is functionally equal to your original. > > - erik Ok then. Just it looks so strange... Thanks Ruda ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-19 11:27 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-09-19 10:24 [9fans] strange problem with an rc function Rudolf Sykora 2010-09-19 10:31 ` erik quanstrom 2010-09-19 11:27 ` Rudolf Sykora
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).