Re: Code for :"Re: HERE document failed && Re: /dev/fd/62: No such file or directory"

2014-07-28 Thread Greg Wooledge
On Fri, Jul 25, 2014 at 04:44:27PM -0700, Linda Walsh wrote: > FWIW, this script DOES work interactively in normal operation. > > Just when the system is in pre-single-user state and not > much in the way of resources is available that it blows. Then you are attempting to use operating system fea

Re: Code for :"Re: HERE document failed && Re: /dev/fd/62: No such file or directory"

2014-07-28 Thread Linda Walsh
Greg Wooledge wrote: On Fri, Jul 25, 2014 at 04:44:27PM -0700, Linda Walsh wrote: FWIW, this script DOES work interactively in normal operation. Just when the system is in pre-single-user state and not much in the way of resources is available that it blows. Then you are attempting to use o

[PATCH] Fix time(1) garbage output when time goes backwards.

2014-07-28 Thread Ángel González
libfaketime allows for easy testing of this bug: LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 FAKETIME='-1y' \ FAKETIME_START_AFTER_SECONDS=1 TIMEFORMAT=%lR /bin/bash -c 'time sleep 2' --- execute_cmd.c| 24 lib/sh/timeval.c | 5 - 2 files changed, 20 insertions

[PATCH] Fix time(1) garbage output when time goes backwards.

2014-07-28 Thread Ángel González
libfaketime allows for easy testing of this bug: LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 FAKETIME='-1y' \ FAKETIME_START_AFTER_SECONDS=1 TIMEFORMAT=%lR /bin/bash -c 'time sleep 2' --- execute_cmd.c| 24 lib/sh/timeval.c | 5 - 2 files changed, 20 insertions