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
commitfa48f70dfcee8388fcb4e0d449d6d5bc4e5cfc68 (patch)
treefe33da042f097a918eb979c5591e1d4ea555fee0 /bin/man1
parentAdd all target to git.causal.agency Makefile (diff)
downloadsrc-fa48f70dfcee8388fcb4e0d449d6d5bc4e5cfc68.tar.gz
src-fa48f70dfcee8388fcb4e0d449d6d5bc4e5cfc68.zip
Add messy sh lexer
Surprisingly seems to work for everything I looked at in my repos.
Diffstat (limited to '')
-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