| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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: | <13247.80.202.95.22.1050025234.squirrel@init.linpro.no> |
| Date: | Fri, 11 Apr 2003 03:40:34 +0200 (CEST) |
| Subject: | Re: zsh's echo command buggy? |
| From: | <marius AT storm-olsen DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| In-Reply-To: | <13084.80.202.95.22.1050024069.squirrel@init.linpro.no> |
| References: | <13084 DOT 80 DOT 202 DOT 95 DOT 22 DOT 1050024069 DOT squirrel AT init DOT linpro DOT no> |
| X-Priority: | 3 |
| Importance: | Normal |
| X-MSMail-Priority: | Normal |
| MIME-Version: | 1.0 |
>> Yes, looks like zsh has a printf(string) somewhere instead
>> of printf("%s",string)... Naughty, naughty...
>
> Yup,
> SOMEPATH=C:\This\nShouldnt\nH\na\np\np\ne\nn
>
> C:\Documents and Settings\marius>zsh
> $P$Gecho $SOMEPATH
> C:\This
> Shouldnt
> H
> a
> p
> p
> e
> n
>
> ....gives a good laugh :-)
Wooha,
Really should have consulted with the manuall a bit better before posting!
Just saw this in man zshall: BSD_ECHO <S>
Make the echo builtin compatible with the BSD echo(1) command.
This disables backslashed escape sequences in echo strings
unless the -e option is specified.
My bad.. sorry people.. too many looong nights lately ;-)
.marius
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |