Quote:
Code:
read -r -d "" line <<< " foo " |
Quote:
But I'm puzzled about why in the second case $line has a newline suffixed ... ? |
Quote:
Code:
IFS="" read -r -d "" line << EOF |
Thanks for the clear explanation, tuxdev :)
|
All times are GMT -5. The time now is 05:03 PM. |