home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10036 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.4 KB  |  38 lines

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