Xref: utzoo alt.sources.wanted:865 comp.sources.wanted:15078 alt.folklore.computers:9171 Path: utzoo!utgpu!cs.utexas.edu!convex!usenet From: tchrist@convex.COM (Tom Christiansen) Newsgroups: alt.sources.wanted,comp.sources.wanted,alt.folklore.computers Subject: Re: Jargon2Fortune conversion program Message-ID: <1991Jan31.035719.3025@convex.com> Date: 31 Jan 91 03:57:19 GMT References: <1991Jan30.131346.4590@resam.dk> <1991Jan30.151635.21535@convex.com> Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 32 Nntp-Posting-Host: pixel.convex.com I find that Eric changed the jargon file format a tad, enough to break mkdict. Here's the new one: #!/usr/local/bin/perl ($start = '{= [^A-Za-z] (see ) =}') =~ s/\W/\\$&/g; while (<>) { next if 1../^\s*$start/o; last if /^Appendix A/; print; } All the rest is the same. If you would like the program and don't have it, mail me (with a good, embedded return address). Here's the usage message: usage: jcat [-axlr] entry ... Search the jargon file for: -x exact matches only -a accept also non-anchored matches -l look mode (or invoke as jlook) -r random fortune mode (or invoke as jfort) Yes, it's a perl program, but you probably knew that by now. :-) --tom -- "Hey, did you hear Stallman has replaced /vmunix with /vmunix.el? Now he can finally have the whole O/S built-in to his editor like he always wanted!" --me (Tom Christiansen )