Date: Thu, 06 Sep 2012 15:01:56 -0500 From: Bryan Drewery <bdrewery@freebsd.org> To: Doug Barton <dougb@freebsd.org>, Florian Smeets <flo@smeets.im> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r303626 - head/www/xpi-firebug Message-ID: <50490134.2090507@FreeBSD.org> In-Reply-To: <50462DEC.3040202@FreeBSD.org> References: <201209032233.q83MXSa2053725@svn.freebsd.org> <50453146.2080707@smeets.im> <504537D2.5050608@FreeBSD.org> <50454279.4020309@smeets.im> <50457770.4060402@FreeBSD.org> <5045E904.5080608@smeets.im> <50462DEC.3040202@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freenode/EFNet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50490134.2090507>