Allen BrownFri Jan 21 15:10:44 PST 2005
On Fri, 21 Jan 2005, Max Lemieux wrote: > Ok, this works. Enter gives me a ? but line number + enter displays a line. > > What practical uses do you find for ed? seems specialized enough that it > could be very handy. > > -Max Criminey! ed is just an historical relic. If you want something that is line oriented rather than a screen editor, use ex. -- Allen Brown work: Agilent Technologies non-work: http://www.peak.org/~abrown/ allen_brown at agilent.com abrown at peak.org The dinosaurs became extinct because they didn't have a space program. --- Larry Niven > Jacob Meuser wrote: > > >On Fri, Jan 21, 2005 at 02:52:39PM -0800, Max Lemieux wrote: > > > > > >>max at 4[~]$ ed Robert.txt > >>261 > >> > >>Yikes! I even RTFM ed, and no mention of a display mode (what am I > >>missing?). The substitution looked handy, though... > >> > >> > > > >ed works line-at-a-time. > > > >just start hitting enter, or some number less than 261 and then enter. > > > >now if you want to delete a line type 'd <line#>'. > > > >use 'a <line#>' to add a line. > > > > > > > > _______________________________________________ > EUGLUG mailing list > euglug at euglug.org > http://www.euglug.org/mailman/listinfo/euglug >