Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DSHELL -DHAVE_CONF
A very common thing I need to do when writing bash is to collect both
the stdout and stderr of a command. This can be done relatively
reasonably with files but it would be very attractive to be able to
redirect these directly to a variable some how.
cmd >@stdout 2>@stderr
exit_code=$?
where "stdo
ention any options for the builtin
printf - does it accept --version and --help like the standalone one
does?
Thanks,
luke
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash
'd decided --version and --help options
should be removed from the GNU printf, or added to the bash builtin.
luke
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash
valid timestamps.
commit 0be138c7d5c5ed9e3673e7e179595fab86f6705d
Author: Luke Dashjr
Date: Sat Jan 20 03:58:54 2018 +
Bugfix: builtins/history: Check return value from localtime
If the timestamp is too large a number, localtime fails returning NULL.
Passing this to strftime
I'm not sure. I've seen it 3 times: on 2017-02-18 (with
4.4.11), 2017-02-27 (with 4.4.11), and 2017-03-20 (with
4.4.12). The cron job runs daily. So I don't quite know what
causes it. I've left it running, and can attach to it with
GDB to answer questions, or anything.
--
Happy hacking,
~ Luke Shumaker
y hacking,
~ Luke Shumaker