Using “while read…”,echo and printf get different outcomes – askubuntu.com 02:18 Posted by Unknown No Comments 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 Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitWhat is the point of sh being linked to dash – askubuntu.comHow should I connect 7 devices to a switch module with four ethernet interfaces? Is there a preferred topology? – superuser.comWhat is that invisible bump in the air called that occurs after completing a 360 degree turn? – aviation.stackexchange.comEchoing a string in bash with brackets surrounding it returns 'b' – unix.stackexchange.comA cipher for beginners – puzzling.stackexchange.comConcatenation in bash returns 'b' – unix.stackexchange.com
0 Comment to "Using “while read…”,echo and printf get different outcomes – askubuntu.com"
Post a Comment