svn commit: r303626 - head/www/xpi-firebug
Bryan Drewery
bdrewery at freebsd.org
Thu Sep 6 20:01:46 UTC 2012
On 9/4/2012 11:35 AM, Doug Barton wrote:
> Take a file with no newline at the end. Do this:
>
> while read line ; do
> echo $line
> done < badfile
# echo 'test1' > test
# echo -n 'test2' >> test
# while read line; do echo "line: $line"; done < test
line: test1
2nd line not seen.
# echo "" >> test
# while read line; do echo "line: $line"; done < test
line: test1
line: test2
--
Regards,
Bryan Drewery
bdrewery at freenode/EFNet
More information about the svn-ports-all
mailing list