This is related to Shell script too slow for output to ConkyThis code is nearly perfect:stdbuf -oL jack_cpu_load \    | grep --line-buffered jack DSP load \    | stdbuf -oL cut -d' ' -f4 \    | while read line; do        echo scale=0; $line*100/1 | bc -l > /tmp/buffer    done &The only issue is that bc removes the decimal point and zero when the output is <1.I'd like to see two places after the decimal point, but no fractions at all, with a zero for output <1 would be fine.
bc removes decimal point
shell script;bc
You just need to make itstdbuf -oL jack_cpu_load |grep --line-buffered jack DSP load |stdbuf -oL cut -d' ' -f4 |while read line; do echo $line > /tmp/buffer; done &to output the value that you input without modification.