diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-07-03 17:48:58 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-07-03 17:48:58 +0200 |
commit | 30f3054bace96cc9ce673cb0c290479ae525da37 (patch) | |
tree | 3d1883e2f9bb7bc7a1ba955247b033c6805fca56 | |
parent | b063294dafba965644b6cb5d38c576c4304fd12e (diff) | |
download | mblaze-30f3054bace96cc9ce673cb0c290479ae525da37.tar.gz mblaze-30f3054bace96cc9ce673cb0c290479ae525da37.tar.xz mblaze-30f3054bace96cc9ce673cb0c290479ae525da37.zip |
contrib/malternative: use - instead of /dev/stdin
-rwxr-xr-x | contrib/malternative | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/malternative b/contrib/malternative index db54841..33fe028 100755 --- a/contrib/malternative +++ b/contrib/malternative @@ -5,7 +5,7 @@ echo "Content-Type: $PIPE_CONTENTTYPE" echo cat -} | mshow -t /dev/stdin | awk ' +} | mshow -t - | awk ' BEGIN { split("", ct) } /^ [0-9]/ { ct[++n] = $2 } function prefer(t) { for (i in ct) if (ct[i] == t) exit(64+i) } |