[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60413] build: sed expression problems when pr
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash |
Date: |
Wed, 28 Apr 2021 16:33:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #22, bug #60413 (project octave):
Rik: The .mk files are different, they are Makefile fragments where the parens
are required, otherwise $PERL is equivalent to ${P}ERL. In a shell script,
normal parens $(PERL) will be evaluated as a shell command substitution and
execute PERL, stuffing any output back into the shell script expression where
$(PERL) is used. Maybe you are thinking of ${PERL} instead of just $PERL in
shell scripts? I don't see that we've been consistent with that either.
Where it might matter is when the command is a full file name that contains
spaces. Does ${} protect that, or is "${}" quoting needed? Either way I
don't think we've ever done the work so that the build system can work
properly in a directory tree that has spaces in the name.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60413>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, (continued)
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Markus Mützel, 2021/04/19
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Mike Miller, 2021/04/21
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Markus Mützel, 2021/04/24
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Mike Miller, 2021/04/24
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Markus Mützel, 2021/04/25
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Mike Miller, 2021/04/26
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Markus Mützel, 2021/04/26
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Markus Mützel, 2021/04/27
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Markus Mützel, 2021/04/28
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Rik, 2021/04/28
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash,
John W. Eaton <=
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Mike Miller, 2021/04/28
- [Octave-bug-tracker] [bug #60413] build: sed expression problems when prefix is empty or slash, Rik, 2021/04/28