9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] sam/rc script problem
@ 2008-12-16 12:25 Rudolf Sykora
  2008-12-16 13:02 ` lucio
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Rudolf Sykora @ 2008-12-16 12:25 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

why do I get, running rc in linux (plan9port)

-----------------------------
; sam -d outit
 -. outit
$-/FERMI/+-
  FERMI LEVEL= 0.01     ITER= 70
q
-----------------------------

while

-----------------------------
; sam -d outit <<EOF
$-/FERMI/+-
q
EOF
 -. outit
  FERMI LEVEL= 0.07     ITER= 1
-----------------------------

that is, the second way finds the 1st occurence in the file while I
want the last one (as in the first case)?!
In Plan9 it works the same in both cases!

Thanks
Ruda

P.S.: Is there anything more intelligent than 'vt' for connecting to a
linux machine? I can't use a mouse in vt, window size change doesn't
propagate, sometimes I loose what was in the window... Simply, the
work with 'vt' (I 1st run 'vt' and then ssh to my linux machine; note
that I really need to run commands there) is very clumsy.



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2008-12-16 20:14 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-16 12:25 [9fans] sam/rc script problem Rudolf Sykora
2008-12-16 13:02 ` lucio
2008-12-16 13:08 ` Steve Simon
2008-12-16 14:00   ` erik quanstrom
2008-12-16 14:13     ` gdiaz
2008-12-16 16:22       ` Rudolf Sykora
2008-12-16 16:38         ` erik quanstrom
2008-12-16 16:56           ` Rudolf Sykora
2008-12-16 17:29             ` Martin Neubauer
2008-12-16 14:05   ` Charles Forsyth
2008-12-16 19:25   ` Rudolf Sykora
2008-12-16 19:29     ` erik quanstrom
2008-12-16 19:43     ` michael block
2008-12-16 20:14       ` Rudolf Sykora
2008-12-16 17:18 ` Russ Cox
2008-12-16 17:28   ` Rudolf Sykora
2008-12-16 17:31     ` erik quanstrom
2008-12-16 17:48       ` Rudolf Sykora
2008-12-16 18:13         ` erik quanstrom
2008-12-16 18:38           ` Charles Forsyth

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).