summary refs log tree commit diff
path: root/bin/man1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-20 18:01:04 -0500
committerJune McEnroe <june@causal.agency>2021-01-20 18:04:04 -0500
commit02a9d8a8b07530f50d27b6158329dd8d218d298b (patch)
tree0cf2b2c323758df778fcef13c9fa93f7a1c7c4d7 /bin/man1
parentAdd all target to git.causal.agency Makefile (diff)
downloadsrc-02a9d8a8b07530f50d27b6158329dd8d218d298b.tar.gz
src-02a9d8a8b07530f50d27b6158329dd8d218d298b.zip
Add messy sh lexer
Surprisingly seems to work for everything I looked at in my repos.
Diffstat (limited to 'bin/man1')
-rw-r--r--bin/man1/hilex.122
1 files changed, 18 insertions, 4 deletions
diff --git a/bin/man1/hilex.1 b/bin/man1/hilex.1
index ffa20bcf..80b3155b 100644
--- a/bin/man1/hilex.1
+++ b/bin/man1/hilex.1
@@ -1,4 +1,4 @@
-.Dd January 18, 2021
+.Dd January 20, 2021
 .Dt HILEX 1
 .Os
 .
@@ -167,9 +167,8 @@ Inferred for
 files.
 .
 .It Cm make
-The BSD
-.Xr make 1
-language.
+BSD
+.Xr make 1 .
 Inferred for
 .Pa Makefile ,
 .Pa *.mk
@@ -187,6 +186,21 @@ files
 and files starting with
 .Dq .Dd .
 .
+.It Cm sh
+POSIX
+.Xr sh 1 .
+Since lexical analysis of
+the shell command language
+is effectively impossible,
+this is best-effort only.
+Inferred for
+.Pa *.sh ,
+.Pa .profile ,
+.Pa .shrc
+files
+and files starting with
+.Dq #!/bin/sh .
+.
 .It Cm text
 Plain text.
 Inferred for