9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Réf. : Re: [9fans] editing with out the GUI
@ 2000-09-19 10:51 boyd.roberts
  0 siblings, 0 replies; 2+ messages in thread
From: boyd.roberts @ 2000-09-19 10:51 UTC (permalink / raw)
  To: 9fans



    yes, see ed(1).  it's also possible to use {sam -d}, but i suspect you'll
    find it easier to use ed for your particular task.

yeah, sam -d is a bit 'special'.





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

* [9fans] Réf. : Re: [9fans] editing with out the GUI
@ 2000-09-20 11:38 boyd.roberts
  0 siblings, 0 replies; 2+ messages in thread
From: boyd.roberts @ 2000-09-20 11:38 UTC (permalink / raw)
  To: 9fans



    > anybody mind teling me some basic ed commands?

    the most basic ed commands:

you forgot:

    s/<re>/<replacement-text>/

    <re> = regular expression

that can save a lot of tedious typing.

as well as:

    w - write
    q - quit





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

end of thread, other threads:[~2000-09-20 11:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-19 10:51 [9fans] Réf. : Re: [9fans] editing with out the GUI boyd.roberts
2000-09-20 11:38 boyd.roberts

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