wok diff nano/stuff/patches/sh.nanorc.patch @ rev 24937

Up iptraf (3.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 08:53:05 2022 +0000 (2022-04-14)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nano/stuff/patches/sh.nanorc.patch	Thu Apr 14 08:53:05 2022 +0000
     1.3 @@ -0,0 +1,10 @@
     1.4 +--- usr/share/nano/sh.nanorc.orig	2019-05-03 14:18:58.000000000 +0100
     1.5 ++++ usr/share/nano/sh.nanorc	2019-05-03 14:40:18.301809444 +0100
     1.6 +@@ -1,6 +1,6 @@
     1.7 + ## Here is an example for Bourne shell scripts.
     1.8 + 
     1.9 +-syntax sh "(\.sh|\.(a|ba|c|da|k|mk|pdk|tc|z)(sh|shrc|sh_profile)|/(etc/|\.)profile)$"
    1.10 ++syntax sh "\.sh$" "receipt"
    1.11 + header "^#!.*/(((a|ba|c|da|k|mk|pdk|tc|z)?sh)|(busybox|env) +sh|openrc-run|runscript)"
    1.12 + magic "(POSIX|Bourne-Again) shell script.*text"
    1.13 + linter dash -n