Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20040623202517.99275.qmail@web60304.mail.yahoo.com> Date: Wed, 23 Jun 2004 13:25:17 -0700 (PDT) From: Patrick Samson Subject: Inactive or unsupported "-E" option on echo To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes I got confused by the options supported in echo: $ /bin/echo --help Usage: /bin/echo [OPTION]... [STRING]... Echo the STRING(s) to standard output. -n do not output the trailing newline -e enable interpretation of the backslash-escaped characters listed below -E disable interpretation of those sequences in STRINGs ^^^ $ /bin/echo -E toto -E toto However, with the bash built-in version: $ echo -E toto toto In both versions, default is to not interpret the backslash (#define V9_DEFAULT is commented out in sh-utils/src/echo.c). But the -E option is valid (recognized) in the built-in version, not in the exe version. There is likely nothing to do, on the cygwin side. It's only a pity that the usage message does not vary in accordance with the #define as the supported options and behaviour do. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/