Description
Running ./zsh-bench on Arch Linux fails with:
==> benchmarking login shell ...
script: option --command and a command after '--' cannot be combined
Try 'script --help' for more information.
zsh-bench: either 'script' or 'zsh' is broken
|
script /dev/null '"command"' '"script"' -fqet${(qqq)timing_file} \ |
|
'"-c"' ${(qqq)cmd} ${(qqq)out_file} |
Steps to Reproduce
docker run -it archlinux:latest /bin/bash
pacman -Syyu
pacman -S git zsh
zsh
git clone https://github.com/romkatv/zsh-bench
cd zsh-bench
./zsh-bench
Environment
- OS: Arch Linux
- util-linux: 2.42
Notes
Arch Linux ships util-linux 2.42. It appears that util-linux 2.40+ now rejects
combining -c/--command with a command after --, which is how zsh-bench
invokes script internally.
Description
Running
./zsh-benchon Arch Linux fails with:zsh-bench/zsh-bench
Lines 626 to 627 in a3c48d6
Steps to Reproduce
docker run -it archlinux:latest /bin/bash pacman -Syyu pacman -S git zsh zsh git clone https://github.com/romkatv/zsh-bench cd zsh-bench ./zsh-benchEnvironment
Notes
Arch Linux ships util-linux 2.42. It appears that util-linux 2.40+ now rejects
combining
-c/--commandwith a command after--, which is how zsh-benchinvokes
scriptinternally.