L'output del comando seguente è strano per me. Perché non mi restituisce l'elemento 5? $ echo '0,1,2,3,4,5' | while read -d, i; do echo $i; done 0 1 2 3 4 Mi aspetto che anche '5' venga restituito. In esecuzione GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu). L'aggiunta di una virgola funziona, …
We use cookies and other tracking technologies to improve your browsing experience on our website,
to show you personalized content and targeted ads, to analyze our website traffic,
and to understand where our visitors are coming from.
By continuing, you consent to our use of cookies and other tracking technologies and
affirm you're at least 16 years old or have consent from a parent or guardian.