On Thu, Dec 12, 2002 at 09:09:04AM +0000, Matthew Seaman wrote:

> Of the shells bundled with FreeBSD, /bin/sh uses the standard command
> version and /bin/tcsh uses a shell built-in that by default has the
> same behaviour as /bin/echo:

Correction: /bin/sh has a built-in echo command that understands the
'-e' flag.  What it doesn't have is a built-in 'which' command that
recognises the other shell built-ins...

    $ echo "line one\nline two"
    line one\nline two
    $ echo -e "line one\nline two"
    line one
    line two

        Cheers,

        Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to