pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Guide, Programming in Makefiles: Why trailing '' in example 3?



On Fri, May 11, 2018 at 03:26:36PM -0500, J. Lewis Muir wrote:
>   printf '%s\n' ${STRING:Q}''
> 
> What is the purpose of the two trailing single quote characters?

Ask yourselve what happens if STRING is empty.

Joerg


Home | Main Index | Thread Index | Old Index