This file is indexed.

/usr/share/doc/HOWTO/ja-html/Bzip2-8.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>Bzip2 Howto: (Ìõ¼ÔÄɲá§)fd,ls¤Çbzip2¤ò»È¤¦</TITLE>
 <LINK HREF="Bzip2-7.html" REL=previous>
 <LINK HREF="Bzip2.html#toc8" REL=contents>
</HEAD>
<BODY>
¼¡¤Î¥Ú¡¼¥¸
<A HREF="Bzip2-7.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2.html#toc8">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s8">8. (Ìõ¼ÔÄɲá§)fd,ls¤Çbzip2¤ò»È¤¦</A></H2>

<P>
<H2><A NAME="ss8.1">8.1 fd</A>
</H2>

<P>fd¤Ç¤¹¤Ç¤ËÀßÄꤵ¤ì¤Æ¤¤¤ëgzip'd tar¥¢¡¼¥«¥¤¥Ö¤ÈƱ¤¸¤Ç¤¹¡£¥½¡¼¥¹¤òÊѹ¹¤¹¤ë¾ì¹ç¤Ï
<HR>
<PRE>
--- orig/archive.c      Thu Feb 26 06:33:27 1998
+++ archive.c   Thu Feb 26 04:19:35 1998
@@ -117,6 +117,7 @@
        {" ^.*\\.tar$",         "tar tvf",              PM_TAR},
        {" ^.*\\.tar\\.Z$",     "zcat %C | tar tvf -",  PM_TAR},
        {" ^.*\\.tar\\.gz$",    "gzip -cd %C | tar tvf -",      PM_TAR},
+       {" ^.*\\.tar\\.bz2$",   "bzip2 -cd %C | tar tvf -",     PM_TAR},
        {NULL,                  NULL,           255, 0, "", "", "", "", 1}
 };
 archivetable archivelist[MAXARCHIVETABLE] = {
@@ -130,8 +131,6 @@
                                                "zcat %C | tar xf - %TA"},
        {" ^.*\\.tar\\.gz$",    "tar cf %X %T; gzip %X",
                                                "gzip -cd %C | tar xf - %TA"},
-       {" ^.*\\.tar\\.bz2$",   "tar cf %X %T; bzip2 %X",
-                                               "bzip2 -cd %C | tar xf - %TA"},
        {NULL,                  NULL,                   NULL}
 };
</PRE>
<HR>

¤òfd¥½¡¼¥¹Å¸³«¥Ç¥£¥ì¥¯¥È¥ê¤Ç<CODE>patch -p1 &lt; archive.diff</CODE>¤È¤¢¤Æ¤Æ
(¤¢¤ë¤¤¤Ï¼ê¤ÇľÀÜÊѹ¹¤·¤Æ)¡¢<CODE>make</CODE>¤·¤Þ¤¹¡£
<P>¤Þ¤¿<CODE>~/.fdrc</CODE>¤ÇÀßÄꤹ¤ë¾ì¹ç¤Ï¡¢<CODE># launcher definition</CODE>¤Ç
<HR>
<PRE>
launch ".tar.bz2"\
                "tar tvfy"      0,0:1,2-'/',2'/',3,4-'-',4'-'-'-',4[9],5,6
</PRE>
<HR>

¤ÈÄɲ乤ë¤À¤±¤Ç¤¹(<CODE># examples for GNU tar >=1.12</CODE>)¡£
ƱÍͤË<CODE># archiver definition</CODE>¤Ë
<HR>
<PRE>
arch ".tar.bz2" "tar cf %X %T; bzip2 %X"        "bzip2 -cd %C|tar xf - %TA"
</PRE>
<HR>

¤âÄɲ䷤Ƥª¤­¤Þ¤¹¡£gzip¤ÈƱ¤¸¤Ê¤Î¤Çgzip»þ¤ÎÀßÄ꤬¡¢Ì¾Á°¤òÊѤ¨¤ë¤À¤±¤Ç
¤½¤Î¤Þ¤Þ»È¤¨¤Þ¤¹¡£´Êñ¤Ç¤¹¤Í¡£
<P>
<A HREF="Bzip2-5.html#less">less¤È»È¤¦</A>¾Ïlesspipe.sh ¥Õ¥¡¥¤¥ë¤Ë
<HR>
<PRE>
  *.tar.bz2) tar tyvvf $1 2>/dev/null ;;
</PRE>
<HR>

¤âÄɲä·¤Þ¤¹¡£tar¤ÇgzipÍѤÎz¥ª¥×¥·¥ç¥ó¤¬¤¢¤ë¤Î¤ÈƱ¤¸¤è¤¦¤Ëbzip2ÍÑ
¥ª¥×¥·¥ç¥óy¤òtar¤ËÄɲ䷤Ƥª¤¤¤Æ²¼¤µ¤¤
(
<A HREF="Bzip2-4.html#tar">bzip2¤òtar¤È»È¤¦</A>¾Ï)¡£
<P>
<H2><A NAME="ss8.2">8.2 ls</A>
</H2>

<P>xterm(kterm)¤Ç¤Î¥¢¡¼¥«¥¤¥Ö¥Õ¥¡¥¤¥ë¿§¤ËÄɲ乤뤳¤È¤Ë¤Ä¤¤¤Æ¤Ï
JF¤«¤éÏÂÌõ¤â½Ð¤Æ¤¤¤ë¡ÖColour-ls¡×"3.  ls ¤Î¥«¥é¡¼ÀßÄêË¡"¤ò»²¹Í¤Ë¤·¤Æ²¼¤µ¤¤¡£
<P>Î㤨¤Ð¡¢<CODE>/etc/DIR_COLORS</CODE>¥Õ¥¡¥¤¥ë¤ò°Ê²¼¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹
(°ìÉô°úÍÑ)¡£
<HR>
<PRE>

 .Z   01;31
 .gz  01;31
 .bz2 01;31       &lt;--- ¤³¤³
 .jpg 01;35 # image formats
 .gif 01;35
 .bmp 01;35
</PRE>
<HR>
<P>
<P>
<HR>
¼¡¤Î¥Ú¡¼¥¸
<A HREF="Bzip2-7.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2.html#toc8">Ìܼ¡¤Ø</A>
</BODY>
</HTML>