summaryrefslogtreecommitdiffstats
path: root/example_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'example_scripts')
-rwxr-xr-xexample_scripts/hl_samba9
1 files changed, 9 insertions, 0 deletions
diff --git a/example_scripts/hl_samba b/example_scripts/hl_samba
new file mode 100755
index 0000000..c9ee5a6
--- /dev/null
+++ b/example_scripts/hl_samba
@@ -0,0 +1,9 @@
+#!/bin/bash
+#
+# Colorize Samba configuration file smb.conf
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+# @(#) [MB] cr_hl_samba Version 1.1 du 15/04/13 -
+#
+
+hl -e -b '=|^[ ]*[;#].*' -g '.*=' -y '=.*' -m '[][]' -c '\[.*\]'