Ticket #29 (closed task: fixed)
Replace backsticks (`) with $().
| Reported by: | William | Owned by: | chris@… |
|---|---|---|---|
| Priority: | minor | Milestone: | CLFS Standard 1.0.0 |
| Component: | BOOK | Version: | CLFS Standard 1.0.0 |
| Keywords: | Cc: |
Description
I would like to rise this issue again since some users tends to read it as single quote (') instead. To make the book clearer, I suggest replace those backsticks with $().
This issue exists in LFS/BLFS too.
William
Change History
comment:2 Changed 7 years ago by William
Two examples:
- LFS toolchain adjusting.
SPECFILE=dirname $(gcc -print-libgcc-file-name)/specs && gcc -dumpspecs > $SPECFILE
can be written as
SPECFILE=$(dirname $(gcc -print-libgcc-file-name))/specs && gcc -dumpspecs > $SPECFILE
Why do we use both syntax at the same time?
- BLFS X.Org.
sed -i -e "s@#include <linux/config.h>@/* & */@" \
grep -lr linux/config.h *
can be changed to sed -i -e "s@#include <linux/config.h>@/* & */@" \
$(grep -lr linux/config.h .)
For the sake of clarity.
comment:3 Changed 7 years ago by jim
- Owner changed from clfs-commits@… to mattd
Will assign a couple of people to look at this to see what it would affect. Matt, can you see what changes would be needed to support this.
comment:5 Changed 7 years ago by chris@…
The only places in the book where backticks are used are the "variables" section (for setting the LFS_HOST, as well as LFS_TARGET for mips64) and the toolchain adjustment.

Could you provide some examples of the necessary changes for the team to evaluate.