Browse Source

Add support for +sed format (sed -f)

Alois Mahdal 3 months ago
parent
commit
7311f2e42e
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      bin/mkx

+ 6
- 0
bin/mkx View File

@@ -28,6 +28,7 @@ lstemplates() {
28 28
     #
29 29
     # Print list of valid templates
30 30
     #
31
+    echo sed
31 32
     echo pya
32 33
     echo shellfu
33 34
     echo Bash
@@ -54,6 +55,11 @@ mktemplate() {
54 55
             echo ''
55 56
             echo ''
56 57
             ;;
58
+        sed)
59
+            echo "#!/bin/sed -f"
60
+            echo ''
61
+            echo ''
62
+            ;;
57 63
         lua|Lua)
58 64
             echo "#!$(which lua)"
59 65
             echo ''