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.