Path: utzoo!utgpu!watserv1!watmath!iuvax!cica!tut.cis.ohio-state.edu!oz.cis.ohio-state.edu!jgreely From: jgreely@oz.cis.ohio-state.edu (J Greely) Newsgroups: comp.lang.perl Subject: Re: "MOST COMMON NOVICE BUG" contest (now novice help) Message-ID: Date: 10 Mar 90 03:16:01 GMT References: <1990Mar9.094346.13142@lth.se> Sender: news@tut.cis.ohio-state.edu Reply-To: J Greely Organization: Ohio State University Computer and Information Science Lines: 163 In-reply-to: jh@efd.lth.se's message of 9 Mar 90 09:43:46 GMT In article <1990Mar9.094346.13142@lth.se> jh@efd.lth.se (Joergen Haegg) writes: >I'm trying to convince a friend to give up awk, and use perl instead. >He replies: "Give me 10-20 simple examples, like in the awk books!" Well, you could pick up Tom's examples, sitting in the archive area on tut.cis.ohio-state.edu (ftp) and osu-cis (uucp), in {pub,~}/perl/scripts/tchrist (respectively). I've been shoving lots of stuff into the archive as I get time, although the READMEs are hopelessly out of date. Current contents are: 2048 Oct 27 03:58 3.0/ 382 Sep 12 11:40 README 2048 Oct 11 17:41 perl-users/ 2048 Feb 1 22:45 quickref/ 2048 Dec 14 12:54 quickref-old/ 2048 Mar 7 15:40 scripts/ 3.0: 182 Oct 18 21:46 README 2048 Oct 18 22:26 kits@0/ 2048 Mar 2 12:38 patches/ 3.0/kits@0: 23992 Oct 18 22:24 perl.kit01.Z 24366 Oct 18 22:24 perl.kit02.Z 18709 Oct 18 22:24 perl.kit03.Z 15616 Oct 18 22:24 perl.kit04.Z 20021 Oct 18 22:24 perl.kit05.Z 23689 Oct 18 22:24 perl.kit06.Z 21132 Oct 18 22:24 perl.kit07.Z 24396 Oct 18 22:24 perl.kit08.Z 24095 Oct 18 22:24 perl.kit09.Z 22389 Oct 18 22:24 perl.kit10.Z 20275 Oct 18 22:24 perl.kit11.Z 21902 Oct 18 22:24 perl.kit12.Z 21629 Oct 18 22:25 perl.kit13.Z 21005 Oct 18 22:25 perl.kit14.Z 21577 Oct 18 22:25 perl.kit15.Z 20172 Oct 18 22:25 perl.kit16.Z 23276 Oct 18 22:25 perl.kit17.Z 22373 Oct 18 22:25 perl.kit18.Z 23082 Oct 18 22:25 perl.kit19.Z 24470 Oct 18 22:25 perl.kit20.Z 23766 Oct 18 22:26 perl.kit21.Z 23945 Oct 18 22:26 perl.kit22.Z 23518 Oct 18 22:26 perl.kit23.Z 19890 Oct 18 22:26 perl.kit24.Z 3.0/patches: 51073 Nov 13 16:03 patch1 44820 Mar 2 12:37 patch10 50212 Mar 2 12:37 patch11 33677 Mar 2 12:38 patch12 43571 Nov 13 16:03 patch2 39341 Nov 13 16:03 patch3 46510 Nov 13 16:03 patch4 40587 Nov 17 21:04 patch5 31786 Nov 17 21:04 patch6 47521 Dec 22 14:24 patch7 46758 Dec 22 14:24 patch8 41635 Mar 2 12:36 patch9 perl-users: 144687 Oct 11 17:41 1-158.Z quickref: 57487 Feb 1 22:44 perl-guide-a4.ps.Z 57443 Feb 1 22:45 perl-guide-us.ps.Z 56812 Feb 1 22:46 perl-refcard.ps.Z scripts: 7689 Feb 15 09:25 IPC.example 8534 Oct 27 22:17 Install.shar 839 Nov 18 00:23 README 5281 Oct 27 22:17 cmail.shar 1454 Oct 24 20:49 dvips42.patch 56 Sep 9 1989 fixshar* 9269 Mar 7 15:40 gsh.merlyn 2967 Oct 27 22:17 mail2news 9054 Feb 15 09:24 makelib.stuff 6290 Mar 2 12:40 pstree 3608 Nov 3 17:41 readabst 7873 Mar 2 12:42 refetch.shar 5422 Oct 27 22:17 shell-mode 4323 Oct 27 22:17 ssl 2048 Mar 2 12:40 tchrist/ 4884 Mar 2 12:42 termcap.pl 30606 Sep 9 1989 up.old 33613 Oct 24 15:32 up.shar 1274 Nov 18 00:23 yagrip.pl scripts/tchrist: 203 Feb 21 17:43 MANIFEST 1981 Feb 21 17:43 README 1390 Feb 21 17:43 badrhosts 10596 Feb 21 17:43 cfman 6219 Feb 21 17:43 cfman.8l 784 Feb 21 17:43 easy 575 Feb 21 17:43 flush.pl 1548 Feb 21 17:43 forwmail 616 Feb 21 17:43 getalias 658 Feb 21 17:43 getline 5100 Mar 2 12:40 glob.shar 2300 Feb 21 17:43 itimers.pl 1037 Feb 21 17:43 nfinger 1496 Feb 21 17:43 nlist 6721 Feb 21 17:43 pstruct 4597 Feb 21 17:43 pstruct.1l 364 Feb 21 17:43 rename 471 Feb 21 17:43 sortbyfield 401 Feb 21 17:43 source.pl 1458 Feb 21 17:43 syslog.pl 911 Feb 21 17:43 today 657 Feb 21 17:43 ttimer 1448 Feb 21 17:43 uuhost 4135 Feb 21 17:43 uuhostd 548 Feb 21 17:43 who 644 Feb 21 17:43 xpost (quoted from osu-cis!~/GNU.how-to-get) How to reach osu-cis via uucp =============================== Here is a set of L.sys or Systems file lines suitable for osu-cis: # # Direct Trailblazer # osu-cis Any ACU 19200 1-614-292-5112 in:--in:--in: Uanon # # Direct V.32 (MNP 4) # osu-cis Any ACU 9600 1-614-292-1153 in:--in:--in: Uanon # # Micom port selector, at 1200, 2400, or 9600 bps. # Replace ##'s below with 12, 24, or 96 (both speed and phone number). # NOTE: 9600 bps Micom access may not yet be operational, or may be flaky. # osu-cis Any ACU ##00 1-614-292-31## "" \r\c Name? osu-cis nected \c GO \d\r\d\r\d\r in:--in:--in: Uanon Modify as appropriate for your site, of course, to deal with your local telephone system. There are no limitations concerning the hours of the day you may call. "Okay, Max, we need something from each of the four basic food groups: something from the dough-and-frosting group, something from the carbonation- and-caramel-coloring group --" "How about the chewy-nougat- center-and-chocolaty-coating group?" "Don't forget the orange marshmellow peanuts! I think those are a vegetable." -- J Greely (jgreely@cis.ohio-state.edu; osu-cis!jgreely)