Article View: aus.computers.linux
Article #57612Re: ed editor
From: Grahame M. Kelly
Date: Sun, 15 Sep 1996 00:00
Date: Sun, 15 Sep 1996 00:00
26 lines
1275 bytes
1275 bytes
Ron wrote: > > Hi I'm just learning UNIX, so far I enjoy it! > > How do I add a piece of text to a line that already is in the buffer? > ex., > > > The Super Fast Brown Fox Jumps Over the Lazy Dog. > The Super Fast Brown Fox Jumps Over the Lazy Dog. > > I have 6 of these lines and I need to add a number starting with 1 thru > 6 in front of the word The. Hi Ron, Welcome on the Linux bandwagon. The most simple way is to use "vi" and at the command entry do ":nu" which will automatically number each line. I suggest you purchase the "Learning VI editor", by Linda Lamb isbn 0-937175-67-6 about AUD$44.95 at hotline books in Chatswood. Publisher is O'Reilly & Assoc.; alternatively try a university library. Cheers Grahame
Technical Details
Message-ID:
<323BE5FD.581B63BA@zip.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<323B725F.3927@gte.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,fdab3ab21cc3205 X-Google-Attributes: gid102983,public From: "Grahame M. Kelly" <gmkelly@zip.com.au> Subject: Re: ed editor Date: 1996/09/15 Message-ID: <323BE5FD.581B63BA@zip.com.au> X-Deja-AN: 180763846 references: <323B725F.3927@gte.net> content-type: text/plain; charset=us-ascii organization: SLUG - Sydney Linux User Group member mime-version: 1.0 newsgroups: aus.computers.linux x-mailer: Mozilla 2.01 (X11; I; Linux 1.2.13 i586)