Opened 20 years ago
Closed 19 years ago
#29 closed task (fixed)
Replace backsticks (`) with $().
| Reported by: | William | Owned by: | |
|---|---|---|---|
| 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 (9)
comment:1 by , 20 years ago
comment:2 by , 19 years ago
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 by , 19 years ago
| Owner: | changed from to |
|---|
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:4 by , 19 years ago
| Milestone: | → CLFS 1.0 |
|---|
comment:5 by , 19 years ago
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.
comment:6 by , 19 years ago
| Version: | unstable → 1.0 |
|---|
comment:7 by , 19 years ago
| Version: | 1.0 → 1.0.0 |
|---|
comment:8 by , 19 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |

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