main: work in progress [might break]

This commit is contained in:
Leon van Kammen 2024-09-16 13:54:13 +02:00
parent 1583e9bc70
commit bba9156485
5 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,2 @@
#!/bin/js #!/bin/sh
alert("~/bin/helloworld") echo hook.d/alert/yo: yo $*
return done: ~/bin/helloworld

View File

@ -0,0 +1,4 @@
#!/usr/bin/awk -f
BEGIN{
print "hook.d/alert/yo.awk: yo " ARGV[1]
}

View File

@ -0,0 +1,3 @@
#!/bin/js
str = "hook.d/alert/yo.js yo"+args.slice(1).join(' ')
alert(str)

View File

@ -0,0 +1,2 @@
#!/usr/bin/env lua
print("hook.d/alert/yo.lua: yo " .. args[1])

View File

@ -0,0 +1,3 @@
#!/usr/bin/env micropython
import sys
print("hook.d/alert/yo.py: "+sys.argv[1])