Changeset 3890f5a for chapter06


Ignore:
Timestamp:
08/31/2004 07:58:43 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
3be2393
Parents:
2e3a473d
Message:

Added <literal> tags into cat ... EOF blocks.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4102 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • chapter06/flex.xml

    r2e3a473d r3890f5a  
    6868calls <filename>flex</filename> in lex emulation mode:</para>
    6969
    70 <screen><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"</userinput>
    71 #!/bin/sh
     70<screen><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
     71<literal>#!/bin/sh
    7272# Begin /usr/bin/lex
    7373
    7474exec /usr/bin/flex -l "$@"
    7575
    76 # End /usr/bin/lex
    77 <userinput>EOF
     76# End /usr/bin/lex</literal>
     77EOF
    7878chmod 755 /usr/bin/lex</userinput></screen>
    7979
  • chapter06/glibc.xml

    r2e3a473d r3890f5a  
    195195
    196196<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
    197 # Begin /etc/nsswitch.conf
     197<literal># Begin /etc/nsswitch.conf
    198198
    199199passwd: files
     
    209209rpc: files
    210210
    211 # End /etc/nsswitch.conf
     211# End /etc/nsswitch.conf</literal>
    212212EOF</userinput></screen>
    213213
     
    266266
    267267<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
    268 # Begin /etc/ld.so.conf
     268<literal># Begin /etc/ld.so.conf
    269269
    270270/usr/local/lib
    271271/opt/lib
    272272
    273 # End /etc/ld.so.conf
     273# End /etc/ld.so.conf</literal>
    274274EOF</userinput></screen>
    275275
  • chapter06/pwdgroup.xml

    r2e3a473d r3890f5a  
    2424
    2525<screen><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    26 root:x:0:0:root:/root:/bin/bash
     26<literal>root:x:0:0:root:/root:/bin/bash</literal>
    2727EOF</userinput></screen>
    2828
     
    3434
    3535<screen><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
    36 root:x:0:
     36<literal>root:x:0:
    3737bin:x:1:
    3838sys:x:2:
     
    4848video:x:12:
    4949utmp:x:13:
    50 usb:x:14:
     50usb:x:14:</literal>
    5151EOF</userinput></screen>
    5252
  • chapter06/sysklogd.xml

    r2e3a473d r3890f5a  
    6262
    6363<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
    64 # Begin /etc/syslog.conf
     64<literal># Begin /etc/syslog.conf
    6565
    6666auth,authpriv.* -/var/log/auth.log
     
    7272*.emerg *
    7373
    74 # End /etc/syslog.conf
     74# End /etc/syslog.conf</literal>
    7575EOF</userinput></screen>
    7676
  • chapter06/sysvinit.xml

    r2e3a473d r3890f5a  
    7171
    7272<screen><userinput>cat &gt; /etc/inittab &lt;&lt; "EOF"
    73 # Begin /etc/inittab
     73<literal># Begin /etc/inittab
    7474
    7575id:3:initdefault:
     
    96966:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
    9797
    98 # End /etc/inittab
     98# End /etc/inittab</literal>
    9999EOF</userinput></screen>
    100100
  • chapter06/vim.xml

    r2e3a473d r3890f5a  
    104104
    105105<screen><userinput>cat &gt; /etc/vimrc &lt;&lt; "EOF"
    106 " Begin /etc/vimrc
     106<literal>" Begin /etc/vimrc
    107107
    108108set nocompatible
     
    113113endif
    114114
    115 " End /etc/vimrc
     115" End /etc/vimrc</literal>
    116116EOF</userinput></screen>
    117117
Note: See TracChangeset for help on using the changeset viewer.