Hey Alfred,

you can get it using:

/bin/echo -e \\x2Dn

Cheers,
Giuseppe



"Alfred M. Szmidt" <a...@gnu.org> writes:

> 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