Using “while read…”,echo and printf get different outcomes – askubuntu.com

According to this question "Using "while read..." in a linux script" echo '1 2 3 4 5 6' | while read a b c;do echo "$a, $b, $c"; done outcome: 1, 2, 3 4 5 6 but when I replace echo with printf ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Using “while read…”,echo and printf get different outcomes – askubuntu.com"