Changeset ea93c11 for chapter04


Ignore:
Timestamp:
01/25/2024 05:59:06 PM (3 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
31a18d02, 44850bb
Parents:
9ac6ff5
git-author:
Xi Ruoyao <xry111@…> (01/25/2024 05:49:29 PM)
git-committer:
Xi Ruoyao <xry111@…> (01/25/2024 05:59:06 PM)
Message:

treewide: Use <ulink> instead of <filename> for man pages

"gcc(1)" is really not a file name.

Use <ulink> and link to the online man page on
https://man.archlinux.org/ so the user can refer to the man pages more
easily.

The change is done via a sed command and long lines are wrapped
manually.

Location:
chapter04
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter04/addinguser.xml

    r9ac6ff5 rea93c11  
    100100  <command>su</command> to start a login shell as opposed to a non-login shell.
    101101  The difference between these two types of shells is described in detail in
    102   <filename>bash(1)</filename> and <command>info bash</command>.</para>
     102  <ulink role='man' url='&man;bash.1'>bash(1)</ulink> and <command>info
     103  bash</command>.</para>
    103104
    104105</sect1>
  • chapter04/settingenviron.xml

    r9ac6ff5 rea93c11  
    8080  created files and directories are only writable by their owner, but are
    8181  readable and executable by anyone (assuming default modes are used by the
    82   <filename>open(2)</filename> system call, new files will end up with
    83   permission mode 644 and directories with mode 755).</para>
     82  <ulink role='man' url='&man;open.2'>open(2)</ulink> system call, new files
     83  will end up with permission mode 644 and directories with mode 755).</para>
    8484      </listitem>
    8585    </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.