bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: echo -n?


From: Giuseppe Scrivano
Subject: Re: echo -n?
Date: Mon, 15 Feb 2010 01:53:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

Hey Alfred,

you can get it using:

/bin/echo -e \\x2Dn

Cheers,
Giuseppe



"Alfred M. Szmidt" <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]