On 2/27/23 12:05, enh wrote:
>> Sigh. I dunno, one possibility is to redefine -O work off a
>> "PID,TTY,$STUFF,CMD"
>> base regardless of context? Modulo that could still break stuff for you, and
>> the
>> current code is adding the various -f and -w nonsense to that base before
>> backing up
Rather than assume it's a single chunk of <= sizeof(toybuf) bytes, read
line by line and log each line as it comes. (This is useful for
redirecting the progress output of slow jobs to the log, and matches
other implementations.)
---
toys/posix/logger.c | 22 +++---
1 file changed,
On Tue, Feb 28, 2023 at 8:10 AM Rob Landley wrote:
>
> On 2/27/23 12:05, enh wrote:
> >> Sigh. I dunno, one possibility is to redefine -O work off a
> >> "PID,TTY,$STUFF,CMD"
> >> base regardless of context? Modulo that could still break stuff for you,
> >> and the
> >> current code is adding