Opened 19 years ago

Closed 18 years ago

#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 (9)

comment:1 by Jim Gifford, 19 years ago

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

comment:2 by William, 19 years ago

Two examples:

  1. 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?

  1. 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 Jim Gifford, 19 years ago

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:4 by Jim Gifford, 19 years ago

Milestone: CLFS 1.0

comment:5 by chris@…, 18 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 Jim Gifford, 18 years ago

Version: unstable1.0

comment:7 by Jim Gifford, 18 years ago

Version: 1.01.0.0

comment:8 by chris@…, 18 years ago

Owner: changed from mattd to chris@…
Status: newassigned

comment:9 by chris@…, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r2015.

Note: See TracTickets for help on using tickets.