Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell thousand comma in number

$ echo "123456789" | sed ':a;s/B[0-9]{3}>/,&/;ta'
123,456,789
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #shell #thousand #comma #number
ADD COMMENT
Topic
Name
7+8 =