DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+8 =
Submit