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: <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: To: 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 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit >> 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 ;-) .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/