summaryrefslogtreecommitdiffstats
path: root/todec
blob: b463d0e77fd5f3e291525f4fe540e79bb1a75d32 (plain)
1
2
3
4
5
6
#!/bin/bash
#
# convert number ($2) from base ($1) to decimal
#

echo $(( $1#$2 ))