From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: About color syntax in bash script Date: Sat, 10 Sep 2016 12:42:04 +0900 (JST) Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1473478950 26844 195.159.176.226 (10 Sep 2016 03:42:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Sep 2016 03:42:30 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Emacs developers To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 10 05:42:23 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1biZBO-0005tz-B9 for ged-emacs-devel@m.gmane.org; Sat, 10 Sep 2016 05:42:22 +0200 Original-Received: from localhost ([::1]:33050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biZBM-0002ru-Bs for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2016 23:42:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biZBF-0002rb-T1 for emacs-devel@gnu.org; Fri, 09 Sep 2016 23:42:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biZBA-0005vU-Vr for emacs-devel@gnu.org; Fri, 09 Sep 2016 23:42:13 -0400 Original-Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:36082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biZBA-0005vK-Oy for emacs-devel@gnu.org; Fri, 09 Sep 2016 23:42:08 -0400 Original-Received: by mail-pf0-x22c.google.com with SMTP id 128so35050199pfb.3 for ; Fri, 09 Sep 2016 20:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=/HhzlHR7BvPnPPCvvngKeazDnxvbxoiKk1dCn3Nv17A=; b=XSa+Yz1Nvwil834F3WXsm1Ucl6892WIvD5++H6ZDlE0Kw2XqGjKKc/4NSvyQWm6/cT jsKVUBYwoEPwWlMPzRf65U2k4MvsHhcmMCMKD+ke/uzGY6Pn6fqMiUAaguGiEiiRTXnf aLY9gCxKanrwqFTAMkffd/Qe8b6uPuoX6FRz/Qku8JXxX6vwv0cyohsZg3KIRBShgdTt +vCmCBUDzi23kaWXtHlSsW/xNrZV86E50CSUa3EhcsKj91gW88fwyw85g4bZ4IXYvn1n FvSovAJIi5Qm2iOcSEH/PrxdioC35nLqmk65/s+9UtfAklqK7hMPm8qn+w9bmgKSZwiZ q4Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=/HhzlHR7BvPnPPCvvngKeazDnxvbxoiKk1dCn3Nv17A=; b=fT9+RB9syN0FnrVfFeysrRDpCl6Y1oJq0vSwUEX70rdkZdu5OhQ6k1YBFAH58A6LZp 5RTEaxjRsnXnvaU+/ACcq1tSWaUPm3boTjNLLAW/Gy0B0FsopHV2ol+fmV9gdMitpVR3 Eg7fAlyak9ZaLOKt6QPGT6ye3/GOvGWQuh0tcj/WuIldLG06b0YkiGNhygmH1WTXKwFL lj4dLYyebhtjtsDJ+UBD1T23ScHMS/brzlZNKjzCsKz9p/8bK0mmtHkDaWMfNneTLm3X o9q+oyVBEEnBkQdKhEdvQEMosidKpcB0OW167dVcdUNMlsliwfRtFyg8CimofvmNdvN9 v7bw== X-Gm-Message-State: AE9vXwOqpmU/hg0i8L0cYnQCKZPHW3rFBwfv6p2OyZvjid7nNnBVmZP6raR3deGkcthGsQ== X-Received: by 10.98.27.11 with SMTP id b11mr12479621pfb.111.1473478927969; Fri, 09 Sep 2016 20:42:07 -0700 (PDT) Original-Received: from calancha-pc (57.92.100.220.dy.bbexcite.jp. [220.100.92.57]) by smtp.gmail.com with ESMTPSA id d14sm8287017pfb.50.2016.09.09.20.42.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Sep 2016 20:42:07 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207346 Archived-At: On Fri, 9 Sep 2016, Angelo Graziosi wrote: > Run Emacs without any init file and visit this Bash script: > > $ cat foo.sh > #!/bin/bash > > VAR_A=`uname -s` > VAR_B=$(uname -s) > > the RHS in VAR_A is in magenta while in VAR_B is black. Is this right? I seem > to remember that some time ago (year?) also RHS in VAR_B was in magenta.. but > I am not sure. I have tested with emacs-24, emacs-25.1-rc2, and emacs-25 (banch: master, latest commit: 367f8568) and i see same fontification in all cases: *) The RHS in VAR_A: everything in magenta *) The RHS in VAR_B: "uname" in magenta, "$(-s)" black. > I see this with a recent build from master. Maybe it has being already fixed. Tino