From ccf8e69031b6ea5c3a0a2f1f72870b331152aaed Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 6 Nov 2018 06:51:03 -0800 Subject: doc: load: document hash bang treatment. * txr.1: Document that the load function ignores the hash bang line in both compiled and source files. --- txr.1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/txr.1 b/txr.1 index c6f398fd..b9baca2f 100644 --- a/txr.1 +++ b/txr.1 @@ -56486,6 +56486,14 @@ stream. The directive behaves as it does when no more arguments are available. +If the source or compiled file begins with the characters +.codn #! , +usually indicating "hash bang" script, +.code load +reads reads the first line of the file and discards it. +Processing of the file then begins with the first byte +following that line. + .coNP Special variable @ *load-path* .desc The -- cgit v1.2.3