[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %q with truncating size loses safeness of %q
From: |
Greg Wooledge |
Subject: |
Re: %q with truncating size loses safeness of %q |
Date: |
Fri, 17 Apr 2020 11:16:42 -0400 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Fri, Apr 17, 2020 at 03:22:16PM +0100, Sam Liddicott wrote:
> printf %q with a truncating size will emit partially escaped
> sequence thus losing the safety and composability that %q
> is intended to provide.
So... don't do that.