0899デフォルトの名無しさん
2022/11/05(土) 14:14:53.38ID:0pCmU1l8実際に呼んでみれば?
echo '#! /usr/bin/echo true' >hash-bang-p
chmod u+x hash-bang-p
if ./hash-bang-p |col1; then
# assume implicit invocation available.
else
# don't rely on the mechanism,
# explicitly specify interpreter.
fi
的な感じで