Answers for "shell add thousands separator in a number"

1

shell add thousands separator in a number

$ echo "123456789" | sed ':a;s/B[0-9]{3}>/,&/;ta'
123,456,789
Posted by: Guest on February-15-2022

Code answers related to "shell add thousands separator in a number"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language