[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is there a way to save stdout and stderr to two bash variables?
From: |
Greg Wooledge |
Subject: |
Re: is there a way to save stdout and stderr to two bash variables? |
Date: |
Mon, 11 May 2020 20:49:53 -0400 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Tue, May 12, 2020 at 09:45:06AM +0900, Koichi Murase wrote:
> In my opinion, there is no reason
> to refrain from external files as far as the files are created in
> memory (tmpfs such as /dev/shm or /tmp) and the permissions are
> properly mainined.
On most systems, /tmp isn't a RAM-only file system. It's usually
mapped to a physical disk of some kind.
That said, a short-lived temporary file will quite frequently never
touch the hardware at all. If the file is written, used, closed, and
unlinked quickly enough, the kernel will never feel the need to sync it
to permanent storage.
This, of course, is more of a thing for an operating system support list,
not a bash support list.
- is there a way to save stdout and stderr to two bash variables?, Peng Yu, 2020/05/10
- Re: is there a way to save stdout and stderr to two bash variables?, Koichi Murase, 2020/05/11
- Re: is there a way to save stdout and stderr to two bash variables?, Peng Yu, 2020/05/11
- Re: is there a way to save stdout and stderr to two bash variables?, Koichi Murase, 2020/05/11
- Re: is there a way to save stdout and stderr to two bash variables?,
Greg Wooledge <=
- Re: is there a way to save stdout and stderr to two bash variables?, Peng Yu, 2020/05/12
- Re: is there a way to save stdout and stderr to two bash variables?, Andreas Kusalananda Kähäri, 2020/05/12
- Re: is there a way to save stdout and stderr to two bash variables?, Peng Yu, 2020/05/12
- Re: is there a way to save stdout and stderr to two bash variables?, Tim Visher, 2020/05/12
- Re: is there a way to save stdout and stderr to two bash variables?, Pier Paolo Grassi, 2020/05/12
- Re: is there a way to save stdout and stderr to two bash variables?, Chet Ramey, 2020/05/12
- Re: is there a way to save stdout and stderr to two bash variables?, Chet Ramey, 2020/05/12
- Re: is there a way to save stdout and stderr to two bash variables?, Peng Yu, 2020/05/12
- Re: is there a way to save stdout and stderr to two bash variables?, Chet Ramey, 2020/05/12
- Re: is there a way to save stdout and stderr to two bash variables?, Peng Yu, 2020/05/12