From 577a6aa51c340c806d04823b98d880c03dcd7a5c Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Thu, 9 Jan 2020 12:32:32 +0100 Subject: [PATCH] add macOS file read --- data/fmt.json | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/data/fmt.json b/data/fmt.json index 8f5d266..04454f7 100644 --- a/data/fmt.json +++ b/data/fmt.json @@ -3,17 +3,24 @@ "functions": { "file-read": [ { - "code": "fmt -p NON_EXISTING_PREFIX [file]\n" + "description": "This only works for the GNU version of `fmt`.", + "code": "fmt -pNON_EXISTING_PREFIX [file]\n" + }, + { + "description": "This corrupts the output by wrapping very long lines at the given width.", + "code": "fmt -999 [file]\n" } ], "suid": [ { - "code": "./fmt -p NON_EXISTING_PREFIX [file]\n" + "description": "This corrupts the output by wrapping very long lines at the given width.", + "code": "./fmt -999 [file]\n" } ], "sudo": [ { - "code": "sudo fmt -p NON_EXISTING_PREFIX [file]\n" + "description": "This corrupts the output by wrapping very long lines at the given width.", + "code": "sudo fmt -999 [file]\n" } ] }