[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.
Re: funsub questions, Andreas Schwab, 2023/12/14
Re: funsub questions, Kerin Millar, 2023/12/13