[Top][All Lists]

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

Re: utmac -muh error on Ubuntu

From: Valtteri Vuorikoski
Subject: Re: utmac -muh error on Ubuntu
Date: Wed, 07 Jul 2021 11:16:45 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2.50 (gnu/linux)

John Ankarström <> writes:

> Den 2021-07-07 kl. 00:09 skrev John Ankarström:
> Ah! There is a simpler solution:
>    echo .ds head-str ${str#"${str%?}"}
> Now that's elegant... and POSIX-compatible.
> Note the necessary quotation marks around ${str%?}
> (in case $str contains glob characters).

Nice solution, it fixes the macro for my test file.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]