Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 447B1431FAE for ; Sun, 22 Nov 2009 19:02:27 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WNstan37CWlx for ; Sun, 22 Nov 2009 19:02:25 -0800 (PST) Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com [209.85.218.224]) by olra.theworths.org (Postfix) with ESMTP id 20026431FBC for ; Sun, 22 Nov 2009 19:02:24 -0800 (PST) Received: by bwz24 with SMTP id 24so3609541bwz.30 for ; Sun, 22 Nov 2009 19:02:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.34.201 with SMTP id m9mr4220736bkd.77.1258945344068; Sun, 22 Nov 2009 19:02:24 -0800 (PST) In-Reply-To: <874oomgdz3.fsf@yoom.home.cworth.org> References: <1258893877-28436-1-git-send-email-jan@ryngle.com> <874oomgdz3.fsf@yoom.home.cworth.org> Date: Mon, 23 Nov 2009 04:02:24 +0100 Message-ID: From: Jan Janak To: Carl Worth Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] [PATCH] makefile: Tell echo to interpret escape sequences. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2009 03:02:27 -0000 On Mon, Nov 23, 2009 at 3:41 AM, Carl Worth wrote: > On Sun, 22 Nov 2009 13:44:37 +0100, Jan Janak wrote: >> The initial message that informs the user about the possibility to use >> make V=3D1 contains a \n at the end, but echo wouldn't interpret that >> properly without the -e command line option. > > Patch doesn't work for me. > > Before patch: > > =C2=A0 =C2=A0 =C2=A0 =C2=A00:~/src/notmuch:(master)$ make > =C2=A0 =C2=A0 =C2=A0 =C2=A0Use "make V=3D1" to see the verbose compile li= nes. > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0CC =C2=A0 =C2=A0notmuch-new.o > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0CXX =C2=A0 notmuch > > After patch: > > =C2=A0 =C2=A0 =C2=A0 =C2=A00:~/src/notmuch:(master)$ make > =C2=A0 =C2=A0 =C2=A0 =C2=A0-e Use "make V=3D1" to see the verbose compile= lines. > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0CC =C2=A0 =C2=A0debugger.o > =C2=A0 =C2=A0 =C2=A0 =C2=A0-e =C2=A0 CC gmime-filter-reply.o > =C2=A0 =C2=A0 =C2=A0 =C2=A0-e =C2=A0 CC notmuch.o > > It's a shame that simple things like "echo" aren't easy to use portably. > (And yes, I know that autoconf has a bunch of tests for echo, such as > how to get the behavior of "echo -n", etc.) It seems your echo interprets escape sequences by default. When I run make, the first line of output looks like this: Use "make V=3D1" to see the verbose compile lines.\n CC debugger.o CC gmime-filter-reply.o CC notmuch.o This is on Debian Lenny. Anyway, this one is not important either. -- Jan