On Thu, Sep 16, 2021 at 07:43:25AM -0400, Greg Wooledge wrote:
Unfortunately, it breaks in Bourne-family shells.
snip
In Bourne/POSIX/bash, semicolon is a command terminator or separator, and may not appear by itself, or at the start of a command. It may appear at the end.
Good catch! I never actually tried a plain ';', so I hadn't hit that. When I appropriated the idea, I prefixed it with ':' in order to get my hostname into the line too (: hostname ;), side-stepping the issue. -- Jonathan Dowland https://jmtd.net