From 2ec4b60f359413c6f0163b9e72108c24460573e7 Mon Sep 17 00:00:00 2001 From: Zack Winkles Date: Mon, 7 Jun 2004 19:16:21 +0000 Subject: Normalized usage of sed throughout the book git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3762 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/sysvinit.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chapter06/sysvinit.xml') diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml index 9f2ad48f8..4f098a0b0 100644 --- a/chapter06/sysvinit.xml +++ b/chapter06/sysvinit.xml @@ -36,9 +36,8 @@ run-level. While doing this, init outputs messages like misinterpretation, you can modify the source so that these messages read like Sending processes started by init the TERM signal instead: -cp src/init.c{,.backup} -sed 's/Sending processes/& started by init/g' \ - src/init.c.backup > src/init.c +sed -i 's@Sending processes@& started by init@g' \ + src/init.c Compile Sysvinit: -- cgit v1.2.3-54-g00ecf