lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing requested: new manuscript viewer tool for Frescobaldi


From: David Wright
Subject: Re: Testing requested: new manuscript viewer tool for Frescobaldi
Date: Wed, 18 Nov 2015 10:47:28 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed 18 Nov 2015 at 16:56:47 (+0100), Federico Bruni wrote:
> Il giorno mer 18 nov 2015 alle 16:33, Urs Liska <address@hidden>
> ha scritto:
> >Does sh read ~/.bashrc?
> 
> Yes, it does:
> 
> $ sh -c "echo $LILYPOND_GIT"
> /home/fede/src/lilypond-git

I'm not sure what this is meant to demonstrate. If your normal shell's
startup file has set LILYPOND_GIT, then   sh -c   will only inherit it.

You really need to know what sh is invoking. Here,   ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Nov  8  2014 /bin/sh -> dash

Running bash and dash and sh interactively (following each invocation
with ^D to exit), one gets:

west!david 10:41:39 ~ $ bash
(This is /home/david/.bashrc 2015 October 15)
(This is /home/david/.bash-1-west 2015 July 13 on jessie)
(This is /home/david/.bash-9-west 2015 August 04)
west!david 10:41:42 ~ $ exit
west!david 10:41:43 ~ $ dash
\[\e[1;33;41m\]\[\e[0;34m\]\H!\u \t \w $ \[\e[m\]
west!david 10:41:47 ~ $ sh
\[\e[1;33;41m\]\[\e[0;34m\]\H!\u \t \w $ \[\e[m\]
west!david 10:41:51 ~ $ 

Cheers,
David.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]