contrib/malternative: use - instead of /dev/stdin

pull/180/head
Leah Neukirchen 4 years ago
parent b063294daf
commit 30f3054bac

@ -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) }

Loading…
Cancel
Save