Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2000 22:24:17 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        questions@freebsd.org
Subject:   Question about echo(1)
Message-ID:  <20000626222417.J232@parish>

next in thread | raw e-mail | index | archive | help
I found in a script ``echo -e .....''. The echo(1) manpage doesn't
list this as an option. builtin(1) lists echo as both external and
internal to both csh(1) and sh(1) but the sh(1) manpage doesn't
mention echo.

Under csh(1) ``echo -e'' prints ``-e'', but under sh(1):

      parish# sh
      # echo

      # echo -e

      # echo foobar
      foobar
      # echo -e foobar
      foobar
      #

So, what does ``-e'' do under sh(1)?

-- 
  If I buy a copy of WinDelete, and it doesn't delete Windows,
  am I entitled to my money back?
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000626222417.J232>