diff --git a/data/atobm.json b/data/atobm.json new file mode 100644 index 0000000..2cdce5a --- /dev/null +++ b/data/atobm.json @@ -0,0 +1,20 @@ +{ + "description": "Outputs the first line of the file to standard error without the '-' and '#' characters, this can be customized with the '-c' option, by default is '-c -#'.", + "functions": { + "file-read": [ + { + "code": "atobm [file] 2>&1 | awk -F \"'\" '{printf \"%s\", $2}'\n" + } + ], + "sudo": [ + { + "code": "sudo atobm [file] 2>&1 | awk -F \"'\" '{printf \"%s\", $2}'\n" + } + ], + "suid": [ + { + "code": "./atobm [file] 2>&1 | awk -F \"'\" '{printf \"%s\", $2}'\n" + } + ] + } +}