Xref: utzoo comp.sources.wanted:5367 comp.misc:3914 Path: utzoo!attcan!uunet!unisoft!hoptoad!dasys1!jpr From: jpr@dasys1.UUCP (Jean-Pierre Radley) Newsgroups: comp.sources.wanted,comp.misc Subject: Re: quick address database wanted Keywords: database address name Message-ID: <7122@dasys1.UUCP> Date: 22 Oct 88 02:46:38 GMT References: <2699@ihwpt.ATT.COM> <7073@dasys1.UUCP> <2587@sultra.UUCP> Reply-To: jpr@dasys1.UUCP (Jean-Pierre Radley) Organization: TANGENT Lines: 42 In article <2587@sultra.UUCP> dtynan@sultra.UUCP (Der Tynan) writes: >In article <7073@dasys1.UUCP>, jpr@dasys1.UUCP (Jean-Pierre Radley) writes: >> In article <2699@ihwpt.ATT.COM> dem@ihwpt.ATT.COM (David E. Martin) writes: >> >Does anyone have a quick (probably a couple of shell scripts) >> >phone and address database? I'm sure I could write something >> >up, but I hate to duplicate the effort. >> >> I've called mine '411', which is what you use to dial information... >> ----cut----here---- > [Deleted for brevity] >> ----cut----here---- >Although the above probably works real well, I just use a CSH alias. I guess >it could be done with the Korn shell too, but I don't have access to it... >This appears in my .cshrc; > >alias phone 'grep -i \!$ /u/dtynan/.phonelist' And the alias I have in use is f11: alias f11 look \!* /pub/lib/411 which finds things very quickly. My /pub/lib/411 is sorted, last names being first. The grep alias would turn up every Joe in the list, which may or may not be annoying, just as my f11 alias would turn up every family or business named Smith. But the 411 shell script, while certainly slower, allows me to ask 411 joe japan # finds, inter alia, smith:joe:201-444-5555:speaks japanese or 411 smith ann # finds, inter alia, leann smithson or 411 214- hop # finds, inter alia, hopkins in dallas area, chop house at 214-56 178th road As I keep 1700 numbers in this list, I like to be able to give two or three keys to narrow the search. -- Time is nature's way of Jean-Pierre Radley making sure that everything jpr@dasys1.UUCP doesn't happen all at once. CIS: 76120,1341