blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:
index.gif

ntcmds00000000.gif

Edlin: [line]--Example

Suppose that the following file is in memory and ready to edit. When you use the Edlin l (list) command at the Edlin prompt, Edlin displays the contents of the file.

1: Dear Mr. Muster:
2:
3: Congratulations on your promotion
4: to the position of Senior Chemical
5: Engineer. I continue to be most
6: impressed with your work.

To edit line 6, type 6. Edlin displays the following two lines:

6:*impressed with your work.
6:*_

The first line contains the specified line number and its associated text. The second line contains the same line number and the cursor.

Now suppose you want to insert the word "fine" before the word "work" in the previous example. You can specify that Edlin is to redisplay a portion of the first line, beginning at the cursor position on the second line. First, press F2 and type w. Edlin displays up to, but not including, the first "w" in line 6, as follows:

6:*impressed _

Then, press F2 and type w again. Edlin displays up to, but not including, the next "w" in line 6, as follows:

6:*impressed with your _

Now press the INSERT key and type fine and then a space. Then press the F3 key. Edlin displays the edited line, as follows:

6:*impressed with your fine work._

Press ENTER to accept the change.

At the Edlin prompt, use the Edlin l (list) command to see a display of the edited file now in memory. Edlin displays the following:

1: Dear Mr. Muster:
2:
3: Congratulations on your promotion
4: to the position of Senior Chemical
5: Engineer. I continue to be most
6:*impressed with your fine work.

More Information About Edlin: [line]

ntcmds00000001.gif Edlin: [line]--Note

ntcmds00000001.gif Edlin: [line]

Cotse.Net

Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

 
.
www.cotse.com
Have you gone to church today?
.
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609