about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-07-03 17:48:58 +0200
committerLeah Neukirchen <leah@vuxu.org>2020-07-03 17:48:58 +0200
commit30f3054bace96cc9ce673cb0c290479ae525da37 (patch)
tree3d1883e2f9bb7bc7a1ba955247b033c6805fca56
parentb063294dafba965644b6cb5d38c576c4304fd12e (diff)
downloadmblaze-30f3054bace96cc9ce673cb0c290479ae525da37.tar.gz
mblaze-30f3054bace96cc9ce673cb0c290479ae525da37.tar.xz
mblaze-30f3054bace96cc9ce673cb0c290479ae525da37.zip
contrib/malternative: use - instead of /dev/stdin
-rwxr-xr-xcontrib/malternative2
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) }