Debian – Converting part of a string while retaining formatting
I have a QNAP NAS with a modified Debian OS. The shell is using GNU bash, version 3.2.57(1)-release (x86_64-QNAP-linux-gnu). I have a number that I need to reformat to add thousand separators. I used printf with the '.d parameter to…