aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbolint b/sbolint
index 0307433..8a35705 100755
--- a/sbolint
+++ b/sbolint
@@ -931,7 +931,9 @@ sub check_readme {
# 20220205 bkw: don't complain about long lines if they're URLs,
# not much we can do about them.
- if(grep { !/^\s*(ftp|https?):\/\// && length > $maxlen } @lines) {
+ # 20260608 bkw: also commands beginning with a prompt character,
+ # # or $.
+ if(grep { !/^[#\$] / && !/^\s*(ftp|https?):\/\// && length > $maxlen } @lines) {
log_warning("README has lines >$maxlen characters");
}
}