Article View: alt.folklore.computers
Article #931Re: Portability of 'echo -n'
From: Lawrence D’Oliveiro
Date: Sat, 07 Nov 2026 22:25
Date: Sat, 07 Nov 2026 22:25
10 lines
2095 bytes
2095 bytes
On Sat, 7 Nov 2026 21:24:52 -0000 (UTC), Waldek Hebisch wrote: > Recently I had displeasure to use 'printf' in a Makefile, in my > setup that lead to orgy of quoting. The shell builtin has the “%q” format specifier which automatically handles all quoting of shell specials. OK, I think this is a bash-ism, it’s not supported by (supposedly more vanilla POSIX-conforming) dash ...
Technical Details
Message-ID:
<11co8ge$3rm07$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bujmd$31udl$1@dont-email.me> <qg3prm-ql7.ln1@ID-313840.user.individual.net> <11cdgp6$46jl$5@dont-email.me> <fcqrrm-5o6.ln1@ID-313840.user.individual.net> <11cg8q2$12d33$1@dont-email.me> <eceurm-lq4.ln1@ID-313840.user.individual.net> <11cijp9$1sunb$1@dont-email.me> <n231sm-d23.ln1@ID-313840.user.individual.net> <11ckp2g$2jqjg$2@dont-email.me> <11cl5im$2nftp$3@dont-email.me> <11cli6u$2u21d$1@paganini.bofh.team> <11clrnu$3188f$1@dont-email.me> <11cmsv6$3a9pr$2@dont-email.me> <11co4v2$37o9q$2@paganini.bofh.team>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: alt.folklore.computers Subject: Re: Portability of 'echo -n' Date: Sat, 7 Nov 2026 22:25:18 -0000 (UTC) Organization: A noiseless patient Spider Lines: 10 Message-ID: <11co8ge$3rm07$2@dont-email.me> References: <11bujmd$31udl$1@dont-email.me> <qg3prm-ql7.ln1@ID-313840.user.individual.net> <11cdgp6$46jl$5@dont-email.me> <fcqrrm-5o6.ln1@ID-313840.user.individual.net> <11cg8q2$12d33$1@dont-email.me> <eceurm-lq4.ln1@ID-313840.user.individual.net> <11cijp9$1sunb$1@dont-email.me> <n231sm-d23.ln1@ID-313840.user.individual.net> <11ckp2g$2jqjg$2@dont-email.me> <11cl5im$2nftp$3@dont-email.me> <11cli6u$2u21d$1@paganini.bofh.team> <11clrnu$3188f$1@dont-email.me> <11cmsv6$3a9pr$2@dont-email.me> <11co4v2$37o9q$2@paganini.bofh.team> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 07 Nov 2026 22:25:18 +0000 (UTC) Injection-Info: dont-email.me; logging-data="4052999"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/iratE4C3OHCG1T6vnXpS3"; posting-host="4445ec4f85fbe86abded07bc359f6af4" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:eYThEfT7TWcp4+/qbAWaGquMWuQ= sha256:Aa91f4GP1q0OGBsfo5GQy7Zd7TBNFuK7R5shswofVHo= sha1:W85uNCFHtlaes4sPKr80isV8CdI= sha256:Tv7LaYSVI5iSvbO3PTKd16P9oPOz9FyA3Abt6WrjVwM=