home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!nwnexus!Celestial.COM!camco!soundex.Celestial.COM!stephsf.com!kopachuk!dcb
- From: dcb@kopachuk.uucp (David Breneman)
- Subject: Re: Fun with sed!!!! [nothing better to do on Saturday night]
- Message-ID: <1992Aug10.192853.3209@kopachuk.uucp>
- Organization: Tacoma Screw Products, Inc.
- References: <1992Aug2.152356.7333@news.acns.nwu.edu>
- Date: Mon, 10 Aug 1992 19:28:53 GMT
- Lines: 27
-
- In article <1992Aug2.152356.7333@news.acns.nwu.edu> navarra@casbah.acns.nwu.edu (John Navarra) writes:
- >
- >
- >For today's sed problem let us go all the way back to early grade school
- >where we heard the famous rule:
- >
- >'I' before "E" except after "C".
- >
- >This is the rule I want to implement in sed. So far, here is my progress:
-
- Process deleted...
-
- >Wonderful, Wonderful! I needed to misspell words in order to correct
- >other words, then change all the misspelled words back in addition to
- >other misspelled words just like them!
-
- When you get up, you can try adding the second half of the rule:
-
- "...or sounding like "A" as in neighbor or weigh."
-
- Be sure to post your solution. :-)
-
- --
- David Breneman Sys Admin, Tacoma Screw Products, Inc. | ____ ____ ____
- dcb@tacoma.uucp | SCREWIE the TSP CLOWN sez- | / /___ /___/
- ..!uunet!tacoma!dcb | "Nylok lock nuts lose their | / ____/ /
- CompuServe: 75760,1232 | binding strength after 1 use!"|
-