delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:in-reply-to | |
:references:mime-version:content-type:content-transfer-encoding; | |
q=dns; s=default; b=j6VFck/FLHZ/NitE+abw9dH2F0a8T/sr9Q5FNTdu1Wa | |
c5ZOFZGuQ5RtXD1xtCuzGN4QKsTGkkCZtf601gBYq9JvrSC5BO5cNRxx4bwyHC8s | |
GasOT/oOIzA8gM9K4M6f6bqz/fRBPPFX5g+wA1Yqocy8Frv50EM9YiuZLHz5OzOE | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:in-reply-to | |
:references:mime-version:content-type:content-transfer-encoding; | |
s=default; bh=LMt/pHnXxjKo1Qv2nl0XqA3fVxU=; b=pfbOPI3nuYaslRUnr | |
dMp436M7Ri4pJYa+R5rZUFx4fzG1q3LYk35u+Y93N//CJe7zl/bivYo1KGiWwwzy | |
RPdMdKRIHmzkibNv2im2fKnZ18GN9lOfN5nYcaPGm83LA7B4EKpGsCR8ModeSPrk | |
P9T5bWL+Ejhb+feYkgHO+eM6aU= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | smtp44.i.mail.ru |
Date: | Mon, 28 Sep 2015 19:48:25 +0300 |
From: | Mikhail Usenko <cygwin AT inbox DOT ru> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [ANNOUNCEMENT] Updated: bash-4.3.39-2 |
Message-Id: | <20150928194825.ed376c0e77553eecd0abbbf4@inbox.ru> |
In-Reply-To: | <5609550E.5010100@redhat.com> |
References: | <announce DOT 556EF85C DOT 3000809 AT redhat DOT com> <20150604125154 DOT 712cbb6af2fc96c5a2306494 AT nm DOT ru> <560466C1 DOT 20709 AT redhat DOT com> <20150928173032 DOT f0a3253c068c27c077a0e18d AT inbox DOT ru> <5609550E DOT 5010100 AT redhat DOT com> |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
On Mon, 28 Sep 2015 08:56:14 -0600 Eric Blake <...> wrote: > > 'echo -n' and 'echo -e' are non-portable (even in bash; because I can > use 'shopt -s xpgecho' to get POSIX-mandated behavior). Use 'printf' > instead. > xpg_echo doesn't change 'echo -ne' behavior ('echo -e' force backslash-escape sequences expansion independently) $ shopt xpg_echo xpg_echo off $ echo -e '\r\n' | od -tx1 0000000 0d 0a 0a 0000003 $ shopt -s xpg_echo $ shopt xpg_echo xpg_echo on $ echo -e '\r\n' | od -tx1 0000000 0d 0a 0a 0000003 $ echo '\r\n' | od -tx1 0000000 0d 0a 0a 0000003 -- Mike -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |