bug-bash
[Top][All Lists]
Advanced

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

Re: funsub questions


From: Zachary Santer
Subject: Re: funsub questions
Date: Wed, 13 Dec 2023 22:48:59 -0500

On Wed, Dec 13, 2023 at 9:17 PM Greg Wooledge <greg@wooledge.org> wrote:
> If you'd like to read the contents of a file into a variable, the
> "read" and "readarray" (aka "mapfile") builtins are usually better
> choices anyway.  $(< file) would only be useful if you want the entire
> content in a single string variable, which is a questionable idea in
> most programs.
sudo kill -s SIGHUP "$(< /var/run/sshd.pid)"
The one thing I've done with this that wasn't a bad idea.



reply via email to

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