diff options
Diffstat (limited to 'sbolint')
| -rwxr-xr-x | sbolint | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"); } } |
