Closed tmor closed 4 years ago
It's not env but the older jq that doesn't take -Mf option. I will modify the README so it works for older jq.
It's not env but the older jq that doesn't take -Mf option. I will modify the README so it works for older jq.
I'm using jq-1.6
.
macOS is BSD-based, shebang supports multiple options. However, Linux does not support it.
please see here: いまさら聞けない、#! で始まる1行目の名前とenv指定時の挙動 - 基本へ帰ろう
ah. you are right. env -S would do if your Linux uses GNU coreutils v8.30 or newer.
Fixed the readme and the script.
Summary
On Linux,
/usr/bin/env command
with-option
will not work.Environments
Steps to reproduce
Workaround