|
From: | John McKown |
Subject: | Re: bash "while do echo" can't function correctly |
Date: | Wed, 13 Apr 2016 06:34:23 -0500 |
though printf should be preferred over echo:
while read -r line; do printf '%s\n' "$line"; done < test.txt
--
Geir Hauge
[Prev in Thread] | Current Thread | [Next in Thread] |