On Thu, Jun 04, 2009 at 10:16:06PM +0100, Adam D. Barratt wrote:
> > So printf is slightly unwiedly to use and it can create
> > format string attack.
> 
> It does, however, have the advantage of working if BAR contains "-E".
> (This isn't a contrived example, it's why I recently changed the parsing
> of DEBUILD_LINTIAN_OPTS to use printf rather than echo; if there's  a
> sane way of printing "-E" using echo I'd love to know what it is).

Not quite correct, but echo "" -E does print " -E"

   Julian



-- 
To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to