home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3911 < prev    next >
Encoding:
Internet Message Format  |  1991-08-26  |  1.1 KB

  1. Xref: wupost comp.text:5329 comp.org.usenix:1618 alt.sources:3911 comp.sources.bugs:1395 comp.unix.misc:2474 comp.unix.programmer:3030 comp.unix.shell:3324 talk.bizarre:49758 alt.tasteless:3753
  2. Newsgroups: comp.text,comp.org.usenix,comp.unix-wizards,alt.sources,comp.sources.bugs,comp.unix.misc,comp.unix.programmer,comp.unix.shell,talk.bizarre,alt.tasteless
  3. Path: wupost!uunet!uunet!rbj
  4. From: rbj@uunet.uu.net (Root Boy Jim)
  5. Subject: Re: most egregious modulus program
  6. Message-ID: <1991Aug25.182128.25335@uunet.uu.net>
  7. Organization: UUNET Communications Services, Falls Church, VA
  8. References: <1991Aug23.234156.21347@netlabs.com>
  9. Date: Sun, 25 Aug 1991 18:21:28 GMT
  10.  
  11. In <1991Aug23.234156.21347@netlabs.com> lwall@netlabs.com (Larry Wall) writes:
  12. >[Sorry 'bout all the crossposting, but there's no rec.nroff.abuse yet...]
  13.  
  14. Nor is there rec.nroff.poetry.
  15.  
  16. >The ;login: journal graciously printed my entry to the "Most Egregious
  17. >Misuse of Unix Utilities" contest...
  18.  
  19. >    `echo "10^$1" | bc | tr -d 1 | sed 's/0/0 /g'` \&
  20.  
  21. This is definitely egregious.
  22. It uses too many processes.
  23. Fold the tr command into the sed.
  24. -- 
  25.         Desolation Row Jimmy <rbj@uunet>
  26.