* Jari Aalto <[email protected]>, 2012-02-08, 02:58:
-    [ "`head -n 1 \"$1\"`" = "-----BEGIN PGP SIGNED MESSAGE-----" ] || \
+    [ "$(head -n 1 \"$1\")" = "-----BEGIN PGP SIGNED MESSAGE-----" ] || \

Bzzt, wrong.

$ foo=/etc/ld.so.conf; echo "`head -n 1 \"$foo\"`"
include /etc/ld.so.conf.d/*.conf

$ foo=/etc/ld.so.conf; echo "$(head -n 1 \"$1\")"
head: cannot open `""' for reading: No such file or directory

--
Jakub Wilk




--
To unsubscribe, send mail to [email protected].

Reply via email to