On Sun, Jul 21, 2019 at 10:31:18PM +0700, Robert Elz wrote: > Date: Sun, 21 Jul 2019 16:15:05 +0200 > From: tlaro...@polynum.com > Message-ID: <20190721141505.ga4...@polynum.com> > > | For safety, in my scripts, I simply circumvent by a > | leading "%c" or "\055" > > I'd suggest %s (with a '' arg) (even %.0s to make it blatant) > as a clearer way to show what is happening > > printf %s---\\n ''
You are right: the whole result is clearer than "deporting" a dash as an argument. I will follow this pattern. Best regards, -- Thierry Laronde <tlaronde +AT+ polynum +dot+ com> http://www.kergis.com/ http://www.sbfa.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C