Re: [9fans] p9p funny

2009-12-29 Thread erik quanstrom
On Tue Dec 29 19:58:45 EST 2009, yard-...@telus.net wrote: > erik quanstrom wrote: > > > > > ; flag v && echo true > > flag v && echo true > > ; ed .rcrc > > ed .rcrc > > 900 > > 1 > > 1 > > if (test -e /etc/rcrc) > > q > > q > > > > It looks like you're you're using the Rakitzis rc; is readline

Re: [9fans] p9p funny

2009-12-29 Thread yard-ape
erik quanstrom wrote: > > ; flag v && echo true > flag v && echo true > ; ed .rcrc > ed .rcrc > 900 > 1 > 1 > if (test -e /etc/rcrc) > q > q > It looks like you're you're using the Rakitzis rc; is readline involved?

[9fans] p9p funny

2009-12-29 Thread erik quanstrom
i'm getting spurious echo in 9term on average about 2/3 of the time. this example sees the spurious echo every time. programs like bash that eat cooked input don't seem to suffer the same fate. ; flag v && echo true flag v && echo true ; ed .rcrc ed .rcrc 900 1 1 if (test -e /etc/rcrc) q q has a

Re: [9fans] du and find

2009-12-29 Thread Rob Pike
The 'g' is unnecessary. -rob On Wed, Dec 30, 2009 at 4:59 AM, Tim Newsham wrote: >> It is suggested to use >>   du -a | awk '{print $2}' >> instead of find. But what if filename contains spaces? For example if >> file is named "foo bar" then awk will output "foo" only. > > What about > >   du -a

Re: [9fans] du and find

2009-12-29 Thread Don Bailey
Chicken dinner! On Tue, Dec 29, 2009 at 10:59 AM, Tim Newsham wrote: > It is suggested to use >> du -a | awk '{print $2}' >> instead of find. But what if filename contains spaces? For example if >> file is named "foo bar" then awk will output "foo" only. >> > > What about > > du -a | sed 's/

Re: [9fans] du and find

2009-12-29 Thread Tim Newsham
It is suggested to use du -a | awk '{print $2}' instead of find. But what if filename contains spaces? For example if file is named "foo bar" then awk will output "foo" only. What about du -a | sed 's/^[0-9]*//g' no loss on spaces in filenames. no loss on tabs in filenames. Tim Newsham