We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://fjord.jp/kuroigamen/8.html に
shebangは何なのかというと、 「"黒い画面"で実行しようとしたファイルの1行目の最初の二文字が#!だったら、その後に書いてあるコマンドに2行目以降の全てを渡す」 という機能です。
shebangは何なのかというと、
「"黒い画面"で実行しようとしたファイルの1行目の最初の二文字が#!だったら、その後に書いてあるコマンドに2行目以降の全てを渡す」
という機能です。
という説明がありますが、間違っているので修正をお願いします。
たとえば以下のようなファイルを作成して実行してみるとわかると思いますが、shebang のコマンドに渡されるのは実行ファイルのパスだけで、中身が渡されるわけではありません。
$ cat ./foo #!/bin/echo arg $ ./foo bar arg ./foo bar
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://fjord.jp/kuroigamen/8.html に
という説明がありますが、間違っているので修正をお願いします。
たとえば以下のようなファイルを作成して実行してみるとわかると思いますが、shebang のコマンドに渡されるのは実行ファイルのパスだけで、中身が渡されるわけではありません。
The text was updated successfully, but these errors were encountered: