Here is a fun one, how does one output `-n' (literal string) (or any
other option that echo accepts) using echo?

$ /bin/echo --version|head -n1
echo (GNU coreutils) 8.4
$ /bin/echo -- -n
-- -n
$ /bin/echo - "-n"
- -n
$ /bin/echo '-n'
$ /bin/echo "-n"
$


Reply via email to