This file is indexed.

/usr/share/doc/HOWTO/ja-html/Bash-Prompt-HOWTO-1.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>Bash Prompt HOWTO: $B$O$8$a$K!"(B</TITLE>
 <LINK HREF="Bash-Prompt-HOWTO-2.html" REL=next>

 <LINK HREF="Bash-Prompt-HOWTO.html#toc1" REL=contents>
</HEAD>
<BODY>
<A HREF="Bash-Prompt-HOWTO-2.html">$B<!$N%Z!<%8(B</A>
$BA0$N%Z!<%8(B
<A HREF="Bash-Prompt-HOWTO.html#toc1">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s1">1. $B$O$8$a$K!"(B</A></H2>

<H2><A NAME="ss1.1">1.1 $BA0Ds(B</A>
</H2>

<P>Bash $B$,I,MW$G$9!#$[$H$s$I$N(B Linux $B$K$D$$$F$/$k%P!<%8%g%s$O(B($B$3$l$r=q$$$F$$$k(B
98$BG/(B11$B7n;~E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%/$7$F2<$5$$!#$=$7$F!";d(B
<A HREF="mailto:giles@interlog.com">giles@interlog.com</A>$B$K(B
$B5$7Z$K(B e-mail $B$rAw$j!"$40U8+$r$*J9$+$;2<$5$$!#(B
<P>
<P>$B;d$O(B LDP $B$N(B HOWTO $B$r$[$H$s$I(B HTML $B%U%)!<%^%C%H$G;H$C$F$$$^$9!#(B
$B$7$?$,$C$F!"$3$NJ8=q$r(B
SGML $B$+$iJQ49$7$F$h$/%A%'%C%/$7$?$N$O!"(BHTML $B$@$1$G$9!#B>$N%U%)!<%^%C%H$G(B
$BLdBj$,$"$C$F$bJ,$+$j$^$;$s$N$G!"CN$i$;$F$$$?$@$1$l$P9,$$$G$9!#(B
<P>
<H2><A NAME="ss1.6">1.6 $B<U<-(B</A>
</H2>

<P>$B$3$NJ8=q$r=q$/$?$a$K(B
<A HREF="http://bash.current.nu/">http://bash.current.nu/</A>
$B$N(B Bashprompt $B%W%m%8%'%/%H$+$iHs>o$KB?$/$N$b$N$r<Z$j$^$7$?!#(B
$B$=$NB>!"(B
<A HREF="http://sunsite.unc.edu/LDP/HOWTO/mini/Xterm-Title.html">http://sunsite.unc.edu/LDP/HOWTO/mini/Xterm-Title.html</A>$B$GF~<j(B
$B2DG=$J(B Ric Lister $B$K$h$k(B<EM>xterm Title mini-HOWTO</EM>$B!"(B
<A HREF="http://www.ncal.verio.com/~keebler/ansi.html">http://www.ncal.verio.com/~keebler/ansi.html</A>$B$GF~<j2DG=$J(B
Keebler $B$K$h$k(B<EM>Ansi Prompts</EM>$B!"(B
<A HREF="http://bash.current.nu/bash/HOWTO.html">http://bash.current.nu/bash/HOWTO.html</A>$B$GF~<j2DG=$J(B
Stephen Webb $B$K$h$k(B<EM>How to make a Bash Prompt Theme</EM>$B!"(B
<A HREF="http://home.earthlink.net/~us5zahns/enl/ansifont.html">http://home.earthlink.net/~us5zahns/enl/ansifont.html</A>$B$GF~<j2DG=$J(B
Stumpy$B$K$h$k(B<EM>X ANSI Fonts</EM>$B$b$?$a$K$J$j$^$7$?!#(B
<P>$B;d$h$j$:$C$H?<$$(B Unix $B$NCN<1$r;}$D(B Georgia College &amp; State University $B$N(B
$BF1N=(B Dan $B$+$i$N(B e-mail $B$b=u$1$K$J$j$^$7$?!#B?$/$NAG@2$i$7$$Ds0F$r$7$F$/$l!"(B
$B$^$?H`$N9M$($K$h$C$F$*$b$7$m$$%W%m%s%W%H$,$G$-$^$7$?!#(B
<P>$B%W%m%s%W%H$r%W%m%0%i%`$9$k$?$a$K!"(B3$B:}$NK\$,$H$F$bLr$KN)$A$^$7$?!#(B
<EM>Linux in a Nutshell</EM> Jessica Heckman Perry (O'Reilly, 1997)$B!"(B
<EM>Learning the Bash Shell</EM> Cameron Newham and Bill Rosenblatt (O'Reilly, 2nd. ed., 1998)$B!"(B
<EM>Unix Shell Programming</EM> Lowell Jay Arthur (Wiley, 1986$B!"$3$l$OBh(B1$BHG$G(B
$BBh(B4$BHG$,(B1997$BG/$K$G$^$7$?(B)$B$G$9!#(B
<P>
<H2><A NAME="ss1.7">1.7 $BCx:n8"$H@UG$J|4~(B</A>
</H2>

<P>
<P>This document is copyright 1998-1999 by Giles Orr.  You are encouraged to
redistribute it.  You may not modify this document (see the section on
contacting me: I have so far been incorporating all changes recommended by
readers).  Please contact me if you're interested in doing a translation:
that's one modification I can live with.
<P>$B$3$NJ8=q$NCx:n8"$O!"(BGiles Orr$B!"(B1998-1999 $B$,M-$7$F$$$^$9!#$I$&$>:FG[I[$r(B
$B$*4j$$$7$^$9!#$3$NJ8=q$r2~JQ$7$F$O$J$j$^$;$s(B($B;d$X$N%3%s%?%/%H$N>O$rFI$s$G(B
$B2<$5$$!#$3$l$^$GFI<T$+$i<u$1$?Ds0F$O$3$NCf$K4^$a$F$"$j$^$9(B)$B!#K]Lu$7$?$$(B
$BJ}$O;d$K%3%s%?%/%H$7$F2<$5$$!#$3$l$,;d$N5v2D$9$kM#0l$N2~JQ$G$9!#(B
<P>
<P>
<P>This document is available for free, and, while I have done the best I can
to make it accurate and up to date, I take no responsibility for any
problems you may encounter resulting from the use of this document.
<P>$B$3$NJ8=q$OL5NA$GF~<j$G$-$^$9!#$G$-$k$@$1@53N$G:G?7$N$b$N$K$7$?$D$b$j$G$9$,!"(B
$B$3$NJ8=q$r;HMQ$7$F$"$J$?$,Ax6x$9$k$I$s$JLdBj$K$b@UG$$O$H$j$^$;$s!#(B
<P>
<HR>
<A HREF="Bash-Prompt-HOWTO-2.html">$B<!$N%Z!<%8(B</A>
$BA0$N%Z!<%8(B
<A HREF="Bash-Prompt-HOWTO.html#toc1">$BL\<!$X(B</A>
</BODY>
</HTML>