# # this is sitaram's phone book. format: starting with a colon - # substitution commands, like :pattern / +|\t[ \t]*/ substitution # the substitution can end with [ \t]*,, meaning other patterns after # that one also may apply. otherwise it breaks at that point. # the main body of phone numbers takes substitutions, CAPS for letter to # number translation (like CALLATT), unhyphenated 7-digit number (checks # for it), [noring], etc. basically pretty much free format. # nearly. don't use hyphens in the extension substitutions. # like, :^.*-.*-.*$ and not :^.*-.*-.*-.*$ should match a number like # "510-665-4096x1234". # # anyway. don't trust the script; there's a whole lot of *complicated* logic # involved in expanding the number. look at the final number before dialling. # : x ! + # extensions : y !9,,, + # extensions :^1-800 $& :^1-888 $& :^1-713-(.*-.*)$ 713-$1 # houston :^1-281-(.*-.*)$ 281-$1 # houston :^1-(.*-.*-.*)$ 1-$1 # long-distance :^.*-.*-.*-.*$ 011-$& # international :^713-(.*-.*)$ 713-$1 # houston :^281-(.*-.*)$ 281-$1 # houston :^.*-.*-.*$ 1-$& # long-distance :^.*-.*$ 713-$& # local # prefixes # 91 india [noring] india-22 bombay [noring] 713-527-8750 rice [noring] ############################################################################