sed:numbering:add_commas_to_numeric_strings
Differences
This shows you the differences between two versions of the page.
sed:numbering:add_commas_to_numeric_strings [2020/08/16 12:26] – created 192.168.1.1 | sed:numbering:add_commas_to_numeric_strings [2020/08/16 12:28] (current) – 192.168.1.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
sed -e :a -e ' | sed -e :a -e ' | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Add commas to numbers with decimal points and minus signs ===== | ||
+ | |||
+ | <code bash> | ||
+ | gsed ': | ||
+ | </ | ||
+ | |||
sed/numbering/add_commas_to_numeric_strings.1597580789.txt.gz · Last modified: 2020/08/16 12:26 by 192.168.1.1