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 Date: Thu, 10 Apr 2003 19:50:32 -0700 (PDT) From: "Peter A. Castro" To: marius AT storm-olsen DOT com cc: cygwin AT cygwin DOT com Subject: Re: zsh's echo command buggy? In-Reply-To: <13247.80.202.95.22.1050025234.squirrel@init.linpro.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 11 Apr 2003 marius AT storm-olsen DOT com wrote: > >> 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 > 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 ;-) Well, shoot! I was just going to make that same observation. Sorry I didn't chime in sooner, but glad it's not a zsh bug! > .marius -- Peter A. Castro or "Cats are just autistic Dogs" -- Dr. Tony Attwood -- 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/