This file is indexed.

/usr/share/doc/HOWTO/ja-html/Bash-Prog-Intro-HOWTO-4.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>BASH Programming - Introduction HOW-TO: ¥Ñ¥¤¥× (pipe)</TITLE>
 <LINK HREF="Bash-Prog-Intro-HOWTO-5.html" REL=next>
 <LINK HREF="Bash-Prog-Intro-HOWTO-3.html" REL=previous>
 <LINK HREF="Bash-Prog-Intro-HOWTO.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Bash-Prog-Intro-HOWTO-5.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Bash-Prog-Intro-HOWTO-3.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Bash-Prog-Intro-HOWTO.html#toc4">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s4">4. ¥Ñ¥¤¥× (pipe)</A></H2>

<P>¤³¤Î¾Ï¤Ç¤Ï¡¢´Êñ¤«¤Ä¼ÂÍÑŪ¤Ê¥Ñ¥¤¥×¤Î»È¤¤Êý¤È¤½¤ÎÍ­ÍÑÀ­¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£
<P>
<H2><A NAME="ss4.1">4.1 ²¿¤Ê¤Î¤«¡¢¤É¤³¤¬¤¤¤¤¤Î¤«</A>
</H2>

<P>´Êñ¤Ë¤¤¤¦¤È¡¢¥Ñ¥¤¥×¤ò»È¤¨¤Ð¡¢¥×¥í¥°¥é¥à¤Î½ÐÎϤò¾¤Î¥×¥í¥°¥é¥à¤ÎÆþÎϤȤ·¤Æ
ÍøÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
<P> 
<H2><A NAME="ss4.2">4.2 ¥µ¥ó¥×¥ë: sed ¤ò»È¤Ã¤¿´Êñ¤Ê¥Ñ¥¤¥×½èÍý</A>
</H2>

<P>¼¡¤ÎÎã¤Ï´Êñ¤Ê¥Ñ¥¤¥×¤Î»È¤¤Êý¤ò¼¨¤¹¤â¤Î¤Ç¤¹¡£
<P>
<BLOCKQUOTE><CODE>
<PRE>
        $ ls -l | sed -e "s/[aeio]/u/g"
        
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>¾åµ­¤Ç¤Ï¡¢¼¡¤Î¤³¤È¤¬µ¯¤³¤ê¤Þ¤¹¡£À褺¥³¥Þ¥ó¥É '<CODE>ls -l</CODE>' ¤¬¼Â¹Ô¤µ¤ì¡¢
¤½¤Î½ÐÎϤ¬²èÌ̤Ëɽ¼¨¤µ¤ì¤ëÂå¤ï¤ê¤Ë¡¢<CODE>sed</CODE> ¥×¥í¥°¥é¥à¤ËÁ÷¤é¤ì
(<CODE>pipe</CODE> ½èÍý¤µ¤ì)¡¢º£ÅÙ¤Ï <CODE>sed</CODE> ¤¬¤½¤ì¤ò½èÍý¤·¤Æ²èÌ̤Ëɽ¼¨¤·¤Þ
¤¹¡£
<P>
<H2><A NAME="ss4.3">4.3 ¥µ¥ó¥×¥ë: 'ls -l *.txt' ¤ÎÂåÂØ¥³¥Þ¥ó¥É  </A>
</H2>

<P>¤ª¤½¤é¤¯¼¡¤Ï¡¢'<CODE>ls -l *.txt</CODE>' ¤È¤¹¤ë¤è¤ê¤âÆñ¤·¤¤ÊýË¡¤Ç¤¹¡£¤³¤ì¤òÎãÂê¤Ë
¼è¤ê¾å¤²¤ë¤Î¤Ï¡¢¥Õ¥¡¥¤¥ë¤ò¥ê¥¹¥È¥¢¥Ã¥×¤¹¤ë¤È¤­¤Î¥¸¥ì¥ó¥Þ¤ò²ò¾Ã¤¹¤ë¤¿¤á¤Ç¤Ï¤Ê
¤¯¡¢Ã±¤Ë¥Ñ¥¤¥×¤Î»È¤¤Êý¤òÀâÌÀ¤·¤¿¤¤¤«¤é¤Ç¤¹¡£
<P>
<BLOCKQUOTE><CODE>
<PRE>
        $ ls -l | grep "\.txt$"
        
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>¾åµ­¤Ç¤Ï¡¢'<CODE>ls -l</CODE>' ¥×¥í¥°¥é¥à¤Î½ÐÎϤ¬ <CODE>grep</CODE> ¥×¥í¥°¥é¥à¤ËÁ÷¤é
¤ì¡¢¤½¤³¤Ç "<CODE>\.txt$</CODE>" ¤ÎÀµµ¬É½¸½¤Ë¹çÃפ¹¤ë¹Ô¤¬²èÌ̤˽ÐÎϤµ
¤ì¤Þ¤¹¡£
(ÌõÃí: ¾åµ­¤Ç±ß¥Þ¡¼¥¯¤¬É½¼¨¤µ¤ì¤ë¾ì¹ç¡¢¤½¤ì¤Ï¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤Î°ÕÌ£¤Ç¤¹¡£)
<P>
<P>
<P>
<P>
<P>
<P>
<P>
<P>
<P>
<P>
<P>
<P>
<HR>
<A HREF="Bash-Prog-Intro-HOWTO-5.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Bash-Prog-Intro-HOWTO-3.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Bash-Prog-Intro-HOWTO.html#toc4">Ìܼ¡¤Ø</A>
</BODY>
</HTML>