summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x2ff4
1 files changed, 2 insertions, 2 deletions
diff --git a/2ff b/2ff
index 1b61cef..9a252a9 100755
--- a/2ff
+++ b/2ff
@@ -7,8 +7,8 @@ fi
TMP=$(mktemp)
cat > "$TMP"
-if [ "$(head -c 8 "$TMP")" = "farbfeld" ]; then
- cat < "$TMP"
+if [ "$(dd if="$TMP" bs=1 count=8 2>/dev/null)" = "farbfeld" ]; then
+ cat "$TMP"
exit 0
fi