DIALTEST(8C)
π DIALTEST(8C) β the HylaFAX dial-rule test bestie
okay so real talk, this is dialtest from the HylaFAX manual, section 8C, and it's genuinely one of my fave little tools. let's get into it π«Ά
β¨ NAME β¨
dialtest β the HylaFAX dial string processing rules test program. it's giving "lab bench but for phone numbers" π₯
πΈ SYNOPSIS πΈ
/usr/bin/dialtest [ options ] dialrules
π¦ DESCRIPTION π¦
so dialtest is an interactive program β like, it actually talks back to you β and it exists for testing and developing the dial string processing rules that HylaFAX uses. ngl that's the whole job and it ate.
here's the vibe: dialtest reads the file of rules you name on the command line, and then it just prompts you for a dial string. type one in, and for each string you type, it prints out the result of applying the canonicalization rule set and the dial-string preparation rule sets. it's literally showing you the glow-up your number goes through β¨
and bestie, you can target a specific rule set too β if a rule set's name is setname, you type it like this:
setname(string)
for example:
CanonicalName(+1.415.965.7824)
iconic. iykyk π
β οΈ okay important one, don't skip this:dialtestreads the rules file only when it is initially started up. that means if you edit your rules file,dialtestwill not notice. you have to restartdialtestfor it to apply changes to a rules file. no cap. it will happily lie to you with stale rules otherwise π
π OPTIONS π
-acode β use code as the value ofAreaCodein the rules file. the default area code is415.-ccode β use code as the value ofCountryCodein the rules file. the default country code is1.-iprefix β use prefix as the value ofInternationalPrefixin the rules file. the default international dialing prefix is011.-lprefix β use prefix as the value ofLongDistancePrefixin the rules file. the default long distance dialing prefix is1.-qβ be quiet, suppressing most all output except for the actual results. this is useful for usingdialtestin an automated fashion. lowkey the "no thoughts just answers" mode π€«-vβ print each input line before displaying the results of applying the dial string rules to the input string. this can be useful, for example, in shell scripts. main character energy for your shell scripts fr fr π
π SEE ALSO π
dialrules(5F)
and that's the whole page, bestie β DIALTEST(8C), dated March 3, 1995, from the HylaFAX squad. a 1995 baddie that still slays. periodt πβ¨
π¦ where this page comes from
- fedora 43: hylafax+-client 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 43: hylafax+-client 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+-client 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+-client 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- Copyright (c) 1993-1996 Sam Leffler
- Copyright (c) 1993-1996 Silicon Graphics, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms