[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] `groff' options for other programs
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] `groff' options for other programs |
Date: |
Sun, 28 Apr 2013 10:10:18 +0100 |
Hi Werner,
> > > > OPTS_WITH_ARG=`echo $OPTS \
> > > > | sed "s/[$OPTS_NO_ARG:]//g"`
...
> > Moreover I could not use `` in GNU make. But $(shell ...) cou;d be
> > used instead.
>
> Backticks do work in Makefiles. What's the problem?
Could it be that Bernd thinks your shell variable assignments, intended
for command lines of a target where the shell will handle the backticks,
are make variable assignments?
$ cat makefile
#! /usr/bin/make -f
BAR = 3.14
foo::
xyzzy="$$USER $(BAR)" && \
echo $(BAR) `expr 6 \* 7` $$TERM $$xyzzy
$
$ ./makefile
xyzzy="$USER 3.14" && \
echo 3.14 `expr 6 \* 7` $TERM $xyzzy
3.14 42 xterm ralph 3.14
$
Cheers, Ralph.
- [Groff] `groff' options for other programs, Bernd Warken, 2013/04/25
- Re: [Groff] `groff' options for other programs, Ralph Corderoy, 2013/04/26
- Re: [Groff] `groff' options for other programs, Bernd Warken, 2013/04/26
- Re: [Groff] `groff' options for other programs, Werner LEMBERG, 2013/04/26
- Re: [Groff] `groff' options for other programs, Bernd Warken, 2013/04/26
- Re: [Groff] `groff' options for other programs, Werner LEMBERG, 2013/04/26
- Re: [Groff] `groff' options for other programs, Werner LEMBERG, 2013/04/26
- Re: [Groff] `groff' options for other programs, Bernd Warken, 2013/04/26
- Message not available
- Re: [Groff] `groff' options for other programs, Bernd Warken, 2013/04/27
- Re: [Groff] `groff' options for other programs, Werner LEMBERG, 2013/04/28
- Re: [Groff] `groff' options for other programs,
Ralph Corderoy <=
- Re: [Groff] `groff' options for other programs, Bernd Warken, 2013/04/28
- Re: [Groff] `groff' options for other programs, Bernd Warken, 2013/04/28