home *** CD-ROM | disk | FTP | other *** search
- 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
- 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
- Path: wupost!uunet!uunet!rbj
- From: rbj@uunet.uu.net (Root Boy Jim)
- Subject: Re: most egregious modulus program
- Message-ID: <1991Aug25.182128.25335@uunet.uu.net>
- Organization: UUNET Communications Services, Falls Church, VA
- References: <1991Aug23.234156.21347@netlabs.com>
- Date: Sun, 25 Aug 1991 18:21:28 GMT
-
- In <1991Aug23.234156.21347@netlabs.com> lwall@netlabs.com (Larry Wall) writes:
- >[Sorry 'bout all the crossposting, but there's no rec.nroff.abuse yet...]
-
- Nor is there rec.nroff.poetry.
-
- >The ;login: journal graciously printed my entry to the "Most Egregious
- >Misuse of Unix Utilities" contest...
-
- > `echo "10^$1" | bc | tr -d 1 | sed 's/0/0 /g'` \&
-
- This is definitely egregious.
- It uses too many processes.
- Fold the tr command into the sed.
- --
- Desolation Row Jimmy <rbj@uunet>
-