blank.gif (43 bytes)

Church Of The
Swimming Elephant



Edlin: S (Search)--Examples

Suppose that the following file is in memory and ready to edit. You can type 1l at the Edlin prompt to see the contents of the file.

1: Dear Mr. Muster:
3: Congratulations on your promotion
4: to the position of Senior Chemical
5: Engineer. I continue to be most
6: impressed with your hard work.
8: I think you will enjoy working with
9: Mr. Lang on the new project. Please
10: let me know if there is anything I
11: can do to assist you.
13: Sincerely,
15: S.L. Martin, President

To specify that Edlin is to search lines 2 through 12 for the first occurrence of the word "to", type the following command:


Edlin displays the following line:

4: to the position of Senior Chemical

To specify that Edlin is to display the line containing the first occurrence of "to" and then prompt you with a confirmation message, type the following command:


Edlin displays the following lines:

4: to the position of Senior Chemical
O.K.? _

If you press any key other than Y or ENTER, the search continues. For this example, press N (for no), as follows:

O.K.? n

Edlin continues the search and displays the following lines:

5: Engineer. I continue to be most
O.K.? _

Press Y to stop the search.

More Information About Edlin: S

ntcmds00000001.gif Edlin: S--Notes

ntcmds00000001.gif Edlin: S


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

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 is a wholly owned subsidiary of Packetderm, LLC.

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