bug-bash
[Top][All Lists]
Advanced

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

Re: New Feature Request


From: Léa Gris
Subject: Re: New Feature Request
Date: Mon, 4 Jan 2021 14:57:07 +0100
User-agent: Telnet/1.0 [tlh] (PDP11/DEC)

Le 04/01/2021 à 14:14, Greg Wooledge écrivait :
It should be noted that $(<foo) still forks a process.

var=$(<file) also trims out all trailing newlines including the one ending the last line because it exactly a sub-shell shot syntax for var=$(cat file). Sub-shell $(commands list) output is always trimmed.

--
Léa Gris




reply via email to

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