3 ms·
GNU coreutils printf also supports insertion of thousands separators with the ' format flag, which gives another way to add them to numbers: EPOCH=$(printf "%'
by pwg 6y ago
GNU coreutils printf also supports insertion of thousands separators with the ' format flag, which gives another way to add them to numbers:
EPOCH=$(printf "%'d" $(date +%s))
- bloopernova 6y agoVery cool, thank you for sharing :)