all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: About color syntax in bash script
Date: Sat, 10 Sep 2016 12:42:04 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1609101229240.4039@calancha-pc> (raw)
In-Reply-To: <b68dc16f-cc2b-82d6-c2f9-1cd98101228a@alice.it>


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



  reply	other threads:[~2016-09-10  3:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-09 17:03 About color syntax in bash script Angelo Graziosi
2016-09-10  3:42 ` Tino Calancha [this message]
2016-09-10  9:05   ` Angelo Graziosi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1609101229240.4039@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.