Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

script(1) bug?



Hi!

jq has set up a NetBSD runner on github (i.e. using qemu) and reports
a weird problem in script: When the command returns too quickly, the
output file is empty.

https://github.com/jqlang/jq/pull/3600#issuecomment-5449885827

I can't reproduce this on my (bare-metal) machine, can someone please
try to reproduce it?

for i in $(jot 100); do
    : > typescript
    script -qc echo > /dev/null
    [ ! -s typescript ] && echo ERROR
done | uniq -c

Thanks,
 Thomas


Home | Main Index | Thread Index | Old Index