[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New feature
From: |
Martin D Kealey |
Subject: |
Re: New feature |
Date: |
Sun, 13 Oct 2024 01:02:36 +1000 |
On Sat, 12 Oct 2024, 23:50 Saint Michael, <venefax@gmail.com> wrote:
> From: Saint Michael <venefax@gmail.com>
> Date: Sat, Oct 12, 2024 at 9:49 AM
> Subject: New feature
>
> The command printf needs a new flag, -e, that would mimic that way the
> same flag works with echo.
> …
> PROCEDURE_INFO=$(echo -e "${PROCEDURE_INFO}")
> this step would be redundant if printf had the flag.
>
Do you mean like this:
printf -v PROCEDURE_INFO %b "$other_var"
Though one has to wonder, why is it written as \n to begin with?
-Martin
After using printf, right now I need to lunch a second command…
Mmm, hungry, time for lunch.