Top > Shebang
[[Shell]] > [[Shebang]]

- https://www.in-ulm.de/~mascheck/various/shebang/#blankrequired
>
Instead, the origin of this myth "of the required blank" might be a particular release of 4.1 BSD: There is a manpage in a "4.1.snap" snapshot of 4.1BSD
on the CSRG CDs, /usr/man/man2/exec.2 (4/1/81), where a space/tab after the #! is mentioned as mandatory. However, this is not true: the source itself remained unchanged.
(Hint to the existence of such a manpage from Bruce Barnett in <ae3m9l$rti$0@208.20.133.66>).
>
むしろ、この「空白が必要である」という神話の起源は、 4.1 BSD の特定のリリースである可能性があります
。CSRG CD、/usr/man/man2/exec上の4.1BSD の「4.1.snap」スナップショットにマンページがあります。 .2 (4/1/81) では、 の後のスペース/タブは#!必須として記載されています。しかし、これは真実ではありません。ソース自体は変更されていません。 ( <ae3m9l$rti$0@208.20.133.66>
の Bruce Barnett からのこのようなマンページの存在に関するヒント )。

Reload   Diff   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes