help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] How not to include the trailing newline when <<< is used


From: Greg Wooledge
Subject: Re: [Help-bash] How not to include the trailing newline when <<< is used?
Date: Tue, 24 May 2016 07:59:45 -0400
User-agent: Mutt/1.4.2.3i

On Tue, May 24, 2016 at 06:45:29AM -0500, Peng Yu wrote:
> Is there a way to not include the trailing newline when
> <<< is used?

No.

> $ cat <<< x
> x

You can use < <() instead.

cat < <(printf x)



reply via email to

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