diff options
author | Thomas Trepl (Moody) <thomas@linuxfromscratch.org> | 2021-07-27 11:54:51 +0200 |
---|---|---|
committer | Thomas Trepl (Moody) <thomas@linuxfromscratch.org> | 2021-07-27 11:54:51 +0200 |
commit | 5287d521e911ff762ec8b4445cecfbacb042e6c8 (patch) | |
tree | c76a78a34d1f64991899bebe86ef529680922a93 /chapter08 | |
parent | 6d6f24202935a5e9ae663cc2a1a79b718f16c9da (diff) |
Simplify the new sed
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/shadow.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml index bd2651b8d..96ffbfdb8 100644 --- a/chapter08/shadow.xml +++ b/chapter08/shadow.xml @@ -97,7 +97,7 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s --> <para>Fix a simple programming error by modifying a file with following command:</para> -<screen><userinput remap="pre">sed -e "224s/rounds = SHA_ROUNDS_DEFAULT/min_&/" -i libmisc/salt.c</userinput></screen> +<screen><userinput remap="pre">sed -e "224s/rounds/min_rounds/" -i libmisc/salt.c</userinput></screen> <para>Prepare Shadow for compilation:</para> |