[lfs] branch xry111/arm64 updated: arm64: gcc-pass1: adapt the diff command demonstrating "sed -i.orig"

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <177068627970.23573.2816142819413862540@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch xry111/arm64
in repository lfs.

The following commit(s) were added to refs/heads/xry111/arm64 by this push:
     new 4e577da23 arm64: gcc-pass1: adapt the diff command demonstrating "sed -i.orig"
4e577da23 is described below

commit 4e577da238041646a618fd6e97dafef353126c6c
Author: Xi Ruoyao <[email protected]>
AuthorDate: Tue Feb 10 09:11:49 2026 +0800

    arm64: gcc-pass1: adapt the diff command demonstrating "sed -i.orig"
    
    I didn't notice this when I merged trunk :(.
---
 chapter05/gcc-pass1.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index a0aaaf290..c27d166ba 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -72,10 +72,10 @@ mv -v mpc-&mpc-version; mpc</userinput></screen>
       <para>
         This example demonstrates the use of the
         <parameter>-i.orig</parameter> switch.  It makes the
-        <command>sed</command> copy the <filename>t-linux64</filename> file
-        to <filename>t-linux64.orig</filename>, and then edit the original
-        <filename>t-linux64</filename> file inplace.  So you may run
-        <command>diff -u gcc/config/i386/t-linux64{.orig,}</command>
+        <command>sed</command> copy the <filename>t-aarch64-linux</filename> file
+        to <filename>t-aarch64-linux.orig</filename>, and then edit the original
+        <filename>t-aarch64-linux</filename> file inplace.  So you may run
+        <command>diff -u gcc/config/aarch64/t-aarch64-linux{.orig,}</command>
         to visualize the change done by the <command>sed</command> command
         afterwards.  We'll simply use <parameter>-i</parameter> (which just
         edits the original file inplace without copying it) for all other

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.