9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] ipod + plan9
@ 2007-12-25  6:02 josh
  2007-12-25 10:21 ` arisawa
  2008-01-02 19:49 ` Pietro Gagliardi
  0 siblings, 2 replies; 5+ messages in thread
From: josh @ 2007-12-25  6:02 UTC (permalink / raw)
  To: 9fans

>If it's a FAT-formatted (Windows =B230GB) one, 
>then use usbfat: (described in the usbfs man page).

Actually it is described in usbdisk(4). But that's the only
place I can find usbfat: -- I don't have it on local systems,
and I don't find it in /n/sources/plan9/rc/bin or
../../386/bin/usb*.

Do you have a /bin/usbfat:?

--
Josh


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [9fans] Acme aborts on a pointless Edit command
@ 2007-12-24  4:17 Anthony Martin
  2007-12-24  5:25 ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: Anthony Martin @ 2007-12-24  4:17 UTC (permalink / raw)
  To: 9fans

I was feeling obscene and decided to test out stupid
commands in sam and acme. Here's something I didn't
expect.

Sam:
, x g/^/m.	no change to file

Acme (Edit):
, x g/^/m.	aborts in /sys/src/cmd/acme/ecmd.c:/^move

It aborts because "move overlaps itself" but the 
question I have is, should it work like sam and
do *visually* nothing at all?


Anthony

P.S.
This came about because I was trying to find a way to
move lines matching a certain pattern to the beginning
of a file (like g/pattern/m0 in ed). Is there a nice
way to do this in sam?

Something that works like the ed command but leaves the
lines in original order, not reversed, would be even
better.

-- 
I spent a night with a blow-up girl and some LSD. -Freeheat


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

end of thread, other threads:[~2008-01-02 19:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-25  6:02 [9fans] ipod + plan9 josh
2007-12-25 10:21 ` arisawa
2008-01-02 19:49 ` Pietro Gagliardi
  -- strict thread matches above, loose matches on Subject: below --
2007-12-24  4:17 [9fans] Acme aborts on a pointless Edit command Anthony Martin
2007-12-24  5:25 ` erik quanstrom
2007-12-24 17:24   ` Joel C. Salomon
2007-12-24 17:35     ` Pietro Gagliardi
2007-12-25  1:51       ` [9fans] ipod + plan9 Philipp
2007-12-25  5:20         ` Pietro Gagliardi

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