Skip to content
troys.io

troys.io

  • Downloads

Categories

  • cyfrtel
  • iptables
  • kvm/qemu
  • linux
  • openwrt
  • routeros
  • safespaces
  • syslog

Recent Posts

  • Protected:
  • Pin an Icon & Directory Tree “like OneDrive”
  • Purge Windows 10 of its useless bloatware
  • rsync volume to volume with speed in consideration
  • Block countries, networks and VoIP blacklists combining Netfilter’s iptables, ipset and voipbl.org

Recent Comments

  • Brett Sheriff on The Quick and Dirty
  • Troy Perkins on The Quick and Dirty
  • Wordpress/Linux CLI Notes Engine – troys.io on [crm] Here is my subject
  • [crm] Here is my subject – troys.io on WordPress/Linux Bash CLI Notes Engine Facility
  • Wordpress/Linux CLI Notes Engine – troys.io on Send CLI commands to syslog

Archives

  • November 2022
  • September 2020
  • October 2019
  • November 2018

Tag: phone

Convert words to dial-pad

#!/bin/sh

for string in `cat $1`
do
number=`echo $string | tr a-z 22233344455566677778889`
echo $string,$number >> $2-w2n.csv
done
Posted on November 26, 2018November 26, 2018Author Troy PerkinsCategories linuxTags bash, phone, translation, vanity numbersLeave a comment on Convert words to dial-pad
Proudly powered by WordPress