home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / perl / 7378 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  918 b 

  1. Path: sparky!uunet!spool.mu.edu!think.com!rpi!utcsri!geac!alias!imax!beltrix!zooid!stramba
  2. From: Mike Stramba <stramba@zooid.guild.org>
  3. Newsgroups: comp.lang.perl
  4. Subject: programming challenge
  5. Message-ID: <1992Dec12.100131.11703@zooid.guild.org>
  6. Date: Sat, 12 Dec 1992 10:01:31 GMT
  7. Organization: The Zoo of Ids
  8. Lines: 23
  9.  
  10. Ok, all you perl wizards out there.
  11.  
  12. This out'a be a snap for ya.
  13.  
  14.  If I have the string :
  15.  
  16.           Exxxxppppppprrrrrrreeeeesssssiiiiiiiiioooooonnnnnnnnnsssssssss
  17.  
  18.  and I want to kill the duplicated letters and end up with:
  19.  
  20.           Expressions
  21.  
  22.  Lets' see some of your elegant solutions !
  23.  
  24.  Btw, this problem came up as a result of trying to edit a formatted man
  25.  page ... for guess what program ?  (starts with 'P ... ends with 'l')
  26.  
  27.  Why am I editing a man page? ... because my computer, an Atari doesn't know
  28.  about them.
  29.  
  30.  I'm interested in seeing solutions to the above, anyway.
  31.  
  32. Mike
  33.