Re: apt update vs. KDE Discover?
On Fri, Apr 25, 2025 at 11:33:54 -0400, Lee wrote:
> > Also, you should quote "$tempf".
> >
> > [ -s "$tempf" ] && notify-send ...
>
> is there any way that
> $(mktemp -q --tmpdir=/tmp -t updXXXXX)
> would return a 0 status and a filename with embedded spaces .. or with
> anything that would require quoting?
The mktemp(1) man page doesn't document which characters can be used
to replace the X's.
The info page does. It says "alpha-numeric characters".
So, you *might* be safe, if the info page is telling the truth, and if
no future version of the mktemp program changes the behavior.
But why take the chance?
Reply to: