help-bash
[Top][All Lists]
Advanced

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

Re: \n displayed instead of newline


From: Jesse Hathaway
Subject: Re: \n displayed instead of newline
Date: Tue, 29 Jun 2021 13:12:50 -0500

On Tue, Jun 29, 2021 at 12:54 PM <lisa-asket@perso.be> wrote:
>
> Why does the first `\n` display as a string rather than a newline in the 
> following printf?

> printf "Usage: $ua\n       $ub\n"

hmm, I can't reproduce on 5.1.8:

$ ua=X ub=Y; printf "Usage: $ua\n       $ub\n"
Usage: X
       Y



reply via email to

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