summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-11-06 06:51:03 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-11-06 06:51:03 -0800
commit27ced6b531c120a3e77105659bb1b7aef39b961b (patch)
tree1b2041d024d8cb00895eaf880953a597db884ca3
parent622e55fa4362a72cf564bd0f1be4d27af97535da (diff)
downloadtxr-27ced6b531c120a3e77105659bb1b7aef39b961b.tar.gz
txr-27ced6b531c120a3e77105659bb1b7aef39b961b.tar.bz2
txr-27ced6b531c120a3e77105659bb1b7aef39b961b.zip
doc: load: document hash bang treatment.
* txr.1: Document that the load function ignores the hash bang line in both compiled and source files.
-rw-r--r--txr.18
1 files changed, 8 insertions, 0 deletions
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