tukubai カンマ、桁揃え、文字種変換

カンマの位置はこれでいいのか?
 -12,345,6.7,890
おかしくね?

hirasawa@server-machine:~/open-usp-tukubai-20130417/sample$ cat data18
1 12 123 1 234
123 2 234 23 123
hirasawa@server-machine:~/open-usp-tukubai-20130417/sample$ cat data18-2
We believe that small is beautiful.
hirasawa@server-machine:~/open-usp-tukubai-20130417/sample$ 
hirasawa@server-machine:~/open-usp-tukubai-20130417/sample$ cat shell18
#!/bin/bash

comma -d 1234
comma -d -123456.7890
echo 1,234,567 | tr -d ','
echo 1,234,567 | awk '{gsub(/,/,"",$1);print}'

keta data18
keta -- data18
keta -v data18

han -d 1234
zen -d 1234
han -d ガチャピン
zen -d ガチャピン

tr A-Z a-z < data18-2
tr a-z A-Z < data18-2
hirasawa@server-machine:~/open-usp-tukubai-20130417/sample$ ./shell18
1,234
-12,345,6.7,890
1234567
1234567
  1 12 123  1 234
123  2 234 23 123
1   12 123 1  234
123 2  234 23 123
3 2 3 2 3
1234
1234
ガチャピン
ガチャピン
we believe that small is beautiful.
WE BELIEVE THAT SMALL IS BEAUTIFUL.
hirasawa@server-machine:~/open-usp-tukubai-20130417/sample$