Initial commit.

This commit is contained in:
依瑪貓
2021-02-01 15:06:51 +08:00
commit ffd51b68a7
38 changed files with 8648 additions and 0 deletions

1
AUTHORS Normal file
View File

@ -0,0 +1 @@
imacat <imacat@mail.imacat.idv.tw>

1
AUTHORS.zh-cn Normal file
View File

@ -0,0 +1 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>è <imacat@mail.imacat.idv.tw>

1
AUTHORS.zh-tw Normal file
View File

@ -0,0 +1 @@
<EFBFBD>̺<EFBFBD><EFBFBD><EFBFBD> <imacat@mail.imacat.idv.tw>

77
Build.PL Executable file
View File

@ -0,0 +1,77 @@
#! /usr/bin/perl -w
# Build.PL: Installation configuration for Module::Build
use strict;
use warnings;
use Config qw(%Config);
use Module::Build;
# Check if there is any old file
use vars qw(%old_version);
%old_version = qw();
foreach (qw(/usr/sbin/reslog.pl
/usr/sbin/reslog
/usr/share/man/man8/reslog.pl.8
/usr/share/man/man8/reslog.8
/usr/local/sbin/reslog.pl
/usr/local/sbin/reslog
/usr/local/share/man/man8/reslog.pl.8
/usr/local/share/man/man8/reslog.8)) {
$old_version{$_} = 1 if -e $_;
}
foreach my $cnf (qw(installman1dir installsiteman1dir installvendorman1dir
man1dir man1direxp siteman1dir siteman1direxp sysman
vendorman1dir vendorman1direxp)) {
next unless defined $Config{$cnf} && -d $Config{$cnf};
$_ = $Config{$cnf};
s/\/man1$/\/man8/;
$old_version{"$_/reslog.8"} = 1 if -e "$_/reslog.8";
$old_version{"$_/reslog.pl.8"} = 1 if -e "$_/reslog.pl.8";
}
foreach my $cnf (qw(installscript installsitescript installvendorscript
scriptdir scriptdirexp sitescript sitescriptexp
vendorscript vendorscriptexp
bin binexp installbin installsitebin installvendorbin
sitebin sitebinexp vendorbin vendorbinexp)) {
next unless defined $Config{$cnf} && -d $Config{$cnf};
$_ = $Config{$cnf};
s/\/bin$/\/sbin/;
$old_version{"$_/reslog"} = 1 if -e "$_/reslog";
$old_version{"$_/reslog.pl"} = 1 if -e "$_/reslog.pl";
}
if (keys %old_version > 0) {
$_ = join " ", sort keys %old_version;
warn << "EOT";
-- Old Files Found
You may remove the following old files after "make install":
$_
EOT
}
my $build = Module::Build->new(
dist_name => "reslog",
dist_version_from => "reslog",
dist_abstract => "Reverse-resolve IP in Apache log files",
dist_author => "imacat <imacat\@mail.imacat.idv.tw>",
license => "gpl",
sign => 1,
script_files => [ "reslog" ],
requires => {
"perl" => "5.8.0",
},
recommends => {
"File::MMagic" => 0,
"Compress::Zlib" => 0,
"Compress::Bzip2" => 2,
"Term::ReadKey" => 0,
},
build_requires => {
"Module::Signature" => 0,
"Test::Pod" => 0,
},
add_to_cleanup => [ "t/logs*" ],
);
$build->create_build_script;
__END__

674
COPYING Normal file
View File

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

701
Changes Normal file
View File

@ -0,0 +1,701 @@
reslog change log
2008-11-18
1. INSTALL and reslog.en.html: Fixed the grammer on
installation with the CPAN or CPANPLUS shell, changed
"install with the CPAN shell using" and "install with the
CPANPLUS shell using" to "install it with the CPAN shell
by running" and "install it with the CPANPLUS shell by
running".
2. INSTALL* and ahping.*.html: Changed "Fedora/Red Hat" to
"Red Hat/Fedora/CentOS".
2008-11-17
1. INSTALL and reslog.en.html: Fixed the grammer on required
and optional module installation, changed "install using"
and "install this using" to "install it by running".
2008-11-15
1. reslog.*.html: Fixed so that installation from source and
with shells are joint into one sentense.
2008-11-12
1. INSTALL*, reslog.*.html: Updated information on
optional Perl modules, to describe different installation
commands for different operating systems.
2008-11-11
1. reslog: Fixed the _private::ProgressBar class so
that it does not use() Term::ReadKey, but require() it
at object initialization. This enables it to work
when Term::ReadKey is missing.
2. reslog: Fixed the update() method of the
_private::ProgressBar class, to accept a dynamic label.
2008-09-30
1. reslog: Update the update() method of the the
_private::ProgressBar class too use the bracket
characters instead of the pipe character for a better
visual outlook.
2008-09-29
1. reslog: Use the _private::ProgressBar class in replace of
the show_progress() function to display the progress bar.
This makes the progress bar easier and more pretty.
2008-04-21
1. INSTALL and reslog.en.html: Fixed typo: "instalation" to
"installation".
2007-12-05
1. reslog: Initialize the static variables within BEGIN {...}
blocks for all _private::* classes.
2. NEWS: Added. The NEWS file is quite useful in addition to
the Changes change log.
3. reslog.*.html: Refer to NEWS instead of Changes for release
notes.
2007-12-04 version 3.16
Fixed a bug with empty files created with Compress::Bzip2.
1. Makefile.PL: Fixed to prevent importing symbols when
checking optional prerequisites.
2. reslog: Fixed the check_type() method of the
_private::LogFile class, so that empty files are checked
with the file name suffix, too. This solve the issue
that Compress::Bzip2 creates empty files which confuse
further processing on file name suffix stripping.
2007-12-03
1. Build.PL: Fixed the comment. This file is "Build.PL",
not "Makefile.PL".
2. Build.PL: Added "use warnings;".
2007-12-03 version 3.15
Build system fix.
1. Makefile.PL: Fixed the required Perl version from
"use 5.006" to "use 5.008;". reslog requires Perl 5.8.0
to work.
2007-12-03 version 3.14
Documentation and test suite fixes.
1. reslog.zh-tw.html, reslog.zh-cn.html: Revised the Chinese
text on "3-argument open()" so that it is more readable.
2. t/_helper.pm: Increased time zone range from -1200 to
+1400 in the mkrandlog_normal() and mkrandlog_noip()
subroutines.
3. t/_helper.pm: Version number increased to 0.05.
4. t/_helper.pm: Fixed time zone text generation in the
mkrandlog_normal() and mkrandlog_noip() subroutines,
using "%+05d" instead of "%+03d%02d" so that we will
get a correct representation in time zones +0030 and
-0030.
5. t/03-errors.t: Fixed the title of the "a same log file
specified more than once" test.
6. reslog.*.html: Added <dfn>...</dfn> to the description.
2007-12-03 version 3.13
1. t/03-errors.t: Added.
2. t/reslog.*.html: Revised.
3. t/_helper.pm: Fixed the way deal with time zone in the
mkrndlog_normal() and mkrndlog_noip() subroutines, using
gmtime($t + $tz) instead of calculating time zone offset
with $tz + (timegm(localtime)-timelocal(localtime)). This
is the easy and right way to do.
4. reslog.zh-tw.html, TODO.zh-tw, TODO.zh-cn: Changed
'<27>c<EFBFBD><EFBFBD><E9A4A4>' to '<27><><EFBFBD><EFBFBD><E9A4A4>'.
2007-12-02
1. t/02-several.t: Added, to replace the t/04-hybrix.t.
2. t/04-hybrix.t: Removed
2007-12-01
1. reslog: Use "use 5.008" instead of "use 5.8.0", for
compatibility with older Perl, and get ride of the warning
of Perl 5.10.
2007-11-30
1. reslog, reslog.*.html: The default keep mode in the
documentation is "restart", but it is actually running
"delete" in the source code and in the test suite. The
documentation is fixed to "delete" according to the
actual program behavior.
2. t/_helper.pm: Renamed the mkrndlog() subroutine to
mkrndlog_normal(). Renamed the mknoiprndlog()
subroutine to mkrndlog_noip(). Added the
mkrndlog_empty() subroutine.
3. reslog: Added check on whether the suffix to be appended
is the same to the suffix to be trimmed. This cause
the same file be overwritten as the resolved result.
4. t/01-exhaust.t: Combining t/01-plain.t, t/02-gzip.t,
t/03-bzip2.t
2007-11-27
1. Makefile.PL, Build.PL: Clean-up old file found message.
2. Makefile.PL: Added message for optional prerequisites.
3. reslog.zh-tw.html, reslog.zh-cn.html: Tag the languages.
2007-11-26
1. t/_helper.pm, t/*.t: Updated the license to GPLv3.
2. README.zh-tw, README.zh-cn: File "Changes.zh-tw" and
"Changes.zh-cn" no longer exists. Fixed as "Changes".
3. fdl.txt: Added.
4. MSWin32 and MS-Win32 is now written as MS-Windows in the
documentation.
5. reslog: Reorder the debug message in the check_gzip() and
check_bzip2() methods of the _private::IO class.
6. Makefile.PL, Build.PL: Fixed comment typo. ("any old files")
7. Build.PL: Added "recommends" and "build_requires".
2007-11-25
1. reslog.en.html, INSTALL: Fixed the typo "archieve" as "archive".
2. reslog: Fixed to return ref($GZIP_IO)->new instead of $GZIP_IO
in the check_gzip() method, ref($BZIP2_IO)->new instead of
$BZIP2_IO in the check_bzip2() method of the _private::IO class,
so that a same I/O handler will not be returned to different log
files.
2007-11-22
1. reslog: Fixed $SIG{__WARN__} to $SIG{"__WARN__"} in the
parse_args() subroutine.
2007-11-20
1. t/_helper.pm: Added the randip() subroutine to provide random IP
that has reliable reverse-lookup DNS.
2007-11-19
1. t/_helper.pm: Fixed the flist() subroutine to exclude non-files.
2. t/_helper.pm, t/*.t: Add the prsrvsrc() subroutine to preserve the
source file for debugging.
3. t/_helper.pm, t/*.t: Add the cleanup() subroutine to clean-up the
test directory after success or failure.
4. t/*.t: Removed the strange escaping of double-quotation character
of reslog path.
2007-11-18
1. reslog: Move the TYPE_PLAIN, TYPE_GZIP and TYPE_BZIP2 constants
from the _private::LogFile package to the main package, so that
other packages can use it, too.
2. t/_helper.pm: Added the TYPE_PLAIN, TYPE_GZIP and TYPE_BZIP2
constants for easier use.
3. reslog: Clean up File::Spec::Functions references.
4. Makefile.PL and Build.PL: Changed the clean-up list from "t/log/*"
to "t/log*".
2007-11-17
1. _helper.pm: Moved rel2abs() from a method of the _private::LogFile
class to a utility subroutine of the main package. rel2abs() may
be used elsewhere.
2007-11-15
1. UPGRADE, UPGRADE.zh-tw, UPGRADE.zh-cn: Removed the outdated file
location change for version 3.02 or earlier. The file location
has changed later. The old change is meaningless.
2. UPGRADE, UPGRADE.zh-tw, UPGRADE.zh-cn: Added "perl Build.PL" to
the file location change instruction.
3. UPGRADE.zh-tw, UPGRADE.zh-cn: Added Chinese translation to the
reason of the script name change.
4. t/_helper.pm: Update the style of mkrndlog() and mknoiprndlog().
Added more status, adjusting more possibility to HTTP/1.1 and
status 200. Fixed the comment that host type 1 is IP and 0 is
domain name.
5. t/_helper.pm: Added a random URL generator to mkrndlog() and
mknoiprndlog().
6. t/_helper.pm: Removed rmalldir() and mkcldir(), and replaced with
mkpath() and rmtree() from File::Path.
2007-11-14
1. reslog: Moved the check_gzip() method and the check_bzip2() method
from the _private::LogFile package to the _private::IO package,
so that it can be used by other packages, and removed the $self
variable. It is not used anyway. The 2 methods are called as
static methods now.
2. reslog: Renamed the new_read() method as open_read(), the
new_write() method as open_write(), the new_append() method
as open_append(). Replaced the strange architech that start
a new instance with $ioclass, with reusing the same $io object.
3. reslog: Renamed the new_read() method as open_read(), the
new_write() method as open_write(), the new_append() method
as open_append(). Replaced the strange architech that start
a new instance with $ioclass, with reusing the same $io object.
4. reslog: Changed " -- " to " - " in comment.
5. reslog: Changed "Deal the ~ home directories under UNIX" to
"Deal with the ~ user home directories under UNIX",
"If start from user's home directory" to
"If it starts from the user home directory".
6. reslog: Fixed the rel2abs() method so that it use getpwuid()
instead of getlogin(), and respect the HOME environment variable
for the current user.
7. reslog: Fixed parse_args() to treat "/dev/stdin" as STDIN on
UNIX-like systems.
8. reslog: Fixed parse_args() and removed the duplicated short help
on Getopt::Long::GetOptions errors.
9. reslog: Fixed show_progress() to reset the clean-up the start
time when progress is finished.
2007-07-23 version 3.12
Fixed the error when there is no IP to be resolved.
1. reslog: Fixed the "division by zero" error when there is no IP
to be resolved.
2. _helper.pm: Added subroutine mknoiprndlog($) to create random log
files without any IP.
3. t/01-plain.t, t/02-gzip.t, t/03-bzip2.t: Added test 15 and 16 to
test resolving empty log files.
2007-07-23 version 3.11
Fixed problem with systems without useithreads, fixed bug checking
STDIN file type with the file program, moved files back to the Perl
default installation directories, and added support for installation
with Module::Build.
1. Build.PL: Added to support installation with Module::Build.
2007-07-22
1. reslog.en.html: Updated "Internet Protocol" as "internet protocol"
in abbreviation title.
2. reslog: Fixed the new() method of the _private::LogFile::STDIN
class, to run unlink0() after checking the file type, to fix the
issue that file was removed before checking the file type with
the file program
3. reslog: Fixed _private::Resolver::Threaded, to load threads
in eval() and define share() when threading is not available, in
order to work with systems that are not compiled with useithreads.
2007-07-22 version 3.10
Documentation fixes.
1. Removed pod2htmd.tmp, pod2htmi.tmp from distribution.
2007-07-21
1. reslog.html: HTML fixes for accessibility, correct HTML character
references, HTML numeric references, author information and so on.
2. Changes: Version number 3.10 was updated as 3.09. I was planning
to bounce the version to 3.10, but forgot this and tagged 3.09
everywhere. Well, then let it be 3.09 anyway.
2007-07-21 version 3.09
License updated to GPLv3, and various fixes.
1. INSTALL and reslog.html: Replace Term::Size with Term::ReadKey.
2. Changes.zh-tw and Changes.zh-cn: Removed.
3. License updated to GPLv3.
4. COPYING.zh-tw and COPYING.zh-cn: Removed since official
translation of GPLv3 is not available yet.
5. Removed stupid "All rights reserved" from the copyright notice.
It shouldn't appear from the beginning.
6. Makefile.PL: Rearranged the order, and added LICENSE and SIGN.
2006-06-12
1. reslog: new() method of _private::LogFile class now opens
the log file and bounces there, instead of checking the log file
first. This way we will return localed system error message.
2. reslog: new() method of _private::LogFile class now opens
the log file in read-only mode when keep all.
2. reslog: check_type() method of _private::LogFile class now returns
the type instead of setting $self->{"type"}, for code readibility.
2006-06-11
1. reslog: new() method of _private::LogFile class now initialized
STDIN with _private::LogFile::STDIN class, instead of bouncing.
parse_args() subroutine does not initialize the files twice now.
2. reslog: Upper-case the error messages in _private::LogFile.
3. reslog: check_io() method of _private::LogFile class now returns
the IO object instead of setting $self->{"io"}, for code
readibility.
4. reslog: Fixed _private::LogFile::STDIN::new() method that we
passed an extra empty argument to tempfile().
5. reslog: Fixed comment, use "handler" instead of "handle".
2006-06-08
1. reslog: Revised the code with my own coding standard.
2. reslog: Added "bundling" to Getopt::Long::Configure(). This
might introduce option-processing incompatibility.
3. reslog: Replaced Term::Size and Win32::Console with Term::ReadKey.
Term::ReadKey seems to be more recent and portable.
2006-05-28
1. INSTALL and reslog.html: Fixed the bzip2 website address.
2005-05-22 version 3.08
Documentation fixes.
1. The last update of the HTML documents are fixed.
2. Changes: English change log was gone. (Maybe lost when
cut-and-paste?) A correct one is supplied.
2005-05-22 version 3.07
1. reslog: No more checks on the availablility of STDIN and STDOUT,
and no more dummy replacement created if not. It was originally
to solve perl.cpan.testers 202971 when running with CPANPLUS under
MSWin32, duplicating closed STDIN causes errors. But I was going
the wrong way. I was testing STDIN/STDOUT/STDRR redirection in
shell backticks. Whether CPANPLUS closes STDIN or not should be
irrevelent. It may be a issue of the shell backticks itself.
Anyhow I rewrote the testing executing method and it is solve. In
fact, it's still not working when STDIN and STDOUT is unavailable.
But IPC::Open3 won't work on that, too. It should be safe to be
ignored.
2. t/_helper.pm: runcmd() was rewritten. It now run the command with
pipe open instead of shell backticks. It's API is hence changed.
3. t/_helper.pm: frread() and frwrite() are added to do raw file
read-write.
4. t/01-plain.t, t/02-gzip.t, t/03-bzip2.t, t/04-hybrix.t: Edited
for the new runcmd() API.
5. t/_helper.pm: Unused subroutines cp() and rm() are removed.
6. t/01-plain.t, t/02-gzip.t, t/03-bzip2.t, t/04-hybrix.t: Added
"use diagnostics;" to help debugging.
7. Successfully tested and run under Linux 2.4 i686, Linux 2.6 i686,
Linux 2.4 AMD64, FreeBSD, Solaris, MacOSX Darwin, MSWin32 and
cygwin. (Thanks to SourceForge compile farm for providing testing
platforms.)
8. THANKS, THANKS.zh-tw, THANKS.zh-cn: Edited.
2005-05-19
1. reslog: Use stat() to check whether STDIN and STDOUT are
available, instead of duplicate them and check if success
directly. This avoids the problem on MacOSX Darwin where trying
to duplicate unopened STDIN crashes directly instead of dies that
can be caught by eval().
2. t/01-plain.t, t/02-gzip.t, t/03-bzip2.t, t/04-hybrix.t: Add
option -d -d -d for more debug information when failures occure.
2. t/_helper.pm: Prepend the command line to the STDERR result to
ease debuging.
2005-05-18
Solaris fix.
1. The file executable on Solaris does not accept file content from
STDIN. This is solved. The target file name is passed to the
file executable. When reading from STDIN in this case, a named
temporary file is created for this and deleted whenever possible.
2. t/01-plain.t, t/02-gzip.t, t/03-bzip2.t, t/04-hybrix.t: Use updir
for composing the script name in the old way, but not popping
splitdir(). $FindBin::Bin may return a directory ended with a
slash which become an empty part in splitdir. (Fedora 3 on AMD64)
3. Tested on Sparc/Solaris, FreeBSD, Fedora 3 on AMD64.
4. t/01-plain.t, t/02-gzip.t, t/03-bzip2.t, t/04-hybrix.t: Setting
wrong testing parameter. -t 1 should be -n 1.
5. reslog: Checks on whether flock() success or not are removed. In
some specific situation flock() is simply not available. For
example, MacOSX Darwin has flock() on local file systems, but not
over NFS. It's not possible to detect and avoid all these
situation.
2005-05-17
1. pgpkey.asc: Updated with the new identity with UTF-8 names.
2005-05-16 version 3.06
1. t/99-pod.t added to test the POD document with Test::Pod.
2. t/01-plain.t, t/02-gzip.t, t/03-bzip2.t: Added test for failures
on existing temporary files.
3. t/_helper.pm: Added prevention of generating IP 127.0.0.1.
4. reslog: Added package _private::Filter and move
_private::Resolver::parse_line() and
_private::Resolver::replace_line() there, to allow easier
implementing different log file formats. Like GeoIP, or maybe
MS-Extended, in the future.
5. reslog: Fixed the POD document. Section of links L<...> should
be section headings in the document, but not manpage sections.
This is fixed. Web site URLs are added to the AUTHOR section.
Mailing list URL is added to the BUGS section.
2005-05-15
Test suite fix.
1. t/02-gzip.t, t/03-bzip2.t: Tests that weren't skipped when gzip or
bzip2 is not available is fixed. (perl.cpan.testers 205969)
2. t/01-plain.t, t/02-gzip2.t, t/03-bzip2.t, t/04-hybrix.t: $nofile
replaced $hasfile. $nogzip replaced $hasgzip. $nobzip2 replaced
$hasbzip2. Skipping reason supplied.
3. reslog: devnull is used instead of tempfile when STDIN or STDOUT
is not available.
4. reslog: Not only STDIN, but all files are checked if they are
specified more than once.
5. t/MyHelper.pm: Subroutines thisfile(), rmalldir(), mkcldir(),
fwrite(), whereis(), ftype(), flist(), mkrndlog(), randword() are
added. Subroutine readfile() is renamed as fread(). Prototype
cplist() is corrected as cp(). Subroutine rm() is removed.
6. t/01-plain.t, t/02-gzip2.t, t/03-bzip2.t, t/04-hybrix.t: I joined
subtests together and shrinked the total number of tests. They
should be one tests anyway. This way I can test more on the result.
7. t/MyHelper.pm: flist() is added so that I can test if the resulted
files list is correct. Several subtests on whether a file exists
are removed.
8. t/MyHelper.pm: ftype() is added so that I can test if the resulted
file format is correct.
9. t/MyHelper.pm: mkrndlog() is added to generate random Apache
access_log files. No more sample log files shipped anymore. The
test result should be better, too, since the content of the test
log files vary now. The content of the shipped samples are all
the same in fact.
10. t/MyHelper.pm: Renamed to _helper.pm, to avoid CPAN namespace
pollution.
2005-05-08
Bug fix.
1. STDIN and STDERR are checked for availability first, and create
dummy ones if they are not available. This fixed the bugs that on
MSWin32 when STDIN is not opened, redirecting unopened STDIN
caused error. This is the situation running "make test" in
CPANPLUS. (perl.cpan.testers 202971)
2005-05-08 version 3.04
1. Fixed a typo when loading File::MMagic that prevent itself from
loading File::MMagic
2005-05-08 version 3.03
1. flock() policy is redesigned. Now all the file handles that are
not opened to ordinary files are not locked. Lock is released when
when file handle is accessed with a foreign program. Files handles
are always locked when opened to ordinary files and accessed
internally, even for anonymous temporary files. This simplified
the locking problem. How foreign programs access file handles are
not an issue anymore.
2. Makefile.PL: MY pacakge is added. Makefile target "upgrade" is
added to remove the old files. constants() and manifypods()
methods are added to alter the default install location. Now we
default to install to /sbin directory and as manpage section 8.
That is what I want.
3. BUGS and TODO section of the embedded POD document updated.
2005-05-02 version 3.02
1. _private::Resolver and _private::Resolver::Threaded are added.
Resolver is independent from the main program so that other log
file filter can use the same code with least modification (GeoIP,
for example).
2. Help text on temporary working file updated.
3. Unsupported file format error message was using $type, which
should be $_. This is fixed.
4. Test 31-39 added to test --suffix and --trim-suffix.
5. Tested with cygwin.
6. Quotes added to the test suite to avoid problem when make test
in directories whose names may contain spaces.
7. Required Perl version changed to 5.8.0. 5.7.2 is a development
version. It's meaningless to require that.
2005-05-01 version 3.0102
1. check_magic(), check_gzip() and check_bzip2() now check the return
value of eval() directly, instead of saving it in $ok and check
that.
2. %CONF is introduced to save the configuration.
3. $THIS_FILE, $SHORTHELP and $VERBOSE are moved from
"use vars qw(...)" to "our (...)", to ease program management.
4. DEFAULT_PROGBAR is introduced to handle the default display status
of the progress bar.
2005-05-01 version 3.0101
Labours' Day!
1. Package name changed from ResLog to main, to avoid polluting the
CPAN namespace.
2. Class names changed from ResLog::* to _private::*, to avoid
polluting the CPAN namespace.
3. check_io() returns an I/O interface object instead of an I/O type
constant, so that the I/O handler object can be generated from it
directly. new_read(), new_write() and new_append() now returns an
I/O handler object generated from the I/O interface object.
4. use_flock() is added to IO::* I/O handlers to see if flock() is
to be used on I/O handlers, to replace run-time checks. Currently
bzip2 on MSWin32 should not use flocks().
5. The constants IO_* are removed.
6. whereis() now uses ExtUtils::MakeMaker MM->maybe_command() to find
the executable. This is inspired from CPAN::FirstTime.
2005-04-26
1. Changes: File edited to widen line limit from 60 columns to 79
columns, to ease reading.
2005-04-26 version 3.01
Bug fix.
1. --suffix and --trim-suffix was not working. I mistakenly put
$_[0] instead of $_[1] in the GetOptions() and this wasn't tested!
^^; This is fixed.
2. Correct a typo in the documentation ("rewrite" should be
"rewrote").
3. Fixed a mistake that Changes.zh-tw was not updated with
Changes.zh-cn.
2005-04-26 version 3.00
1. README updated
2. HTML documentation updated.
3. Uploaded to CPAN.
4. HTML documents updated to conform to W3C Web Content Accessibility
Guide 1.0 Triple-A now.
2005-04-26 version 2.9901
1. INSTALL rewritten.
2. UPGRADE added.
2005-04-25
1. Module::Signature SIGNATURE gpg signature file added. The
external gpg signature file is no longer used.
2. Test suite added.
3. Many bugs fixed, thanks to the test suite.
2005-04-24 version 2.99
This is a new object-oriented version. I rewrote the whole script
from an empty file.
1. Rewrite everything in object-oriented style.
2. ithread threading support is added. With threading it can check
several IP at the same time, dramatically reducing the time cost.
This requires Perl 5.7.2 ithread support. New option
--num-threads is added for this. You can see the effect by
running with -d -d.
3. Supports for running gzip executable, running Compress::Bzip2,
running bzip2 executable are added. This is the benefit of
object-oriented programming. Log entry read/write is now done
through an uniformed I/O handler API. This eased the addition of
new I/O handlers.
4. New option --trim-suffix is added to remove certain file name
suffix before appending our suffix, so that reslog can line-up
with other log file post-processers.
5. file utility can be used instead of File::MMagic if that is not
available.
6. Term::Size is used to display the progress bar under UNIX. Under
MSWin32 Win32::Console will be used instead. reslog can run
without them, but you won't see the progress bar.
7. Instead of resolving line by line, reslog now collects all the IP
found on all the source log files first, resolve those IP
altogether, and replace the IP with the resolved domain name in
the log entries at one time.
8. The script and project name changed from "reslog.pl" to "reslog".
A dot "." in the project name is not valid everywhere, like
SourceForge. "reslog" is enough for a script name under UNIX.
MSWin32 users won't run it with explorer file association anyway,
and there is a pl2bat to turn reslog to reslog.bat.
9. Installation method is changed from my own Install.PL to Perl's
standard ExtUtils::MakeMaker. Utilizing standard is a good thing.
Perl's ExtUtils::MakeMaker is more portable than GNU's autoconf.
As a result, reslog is installed into /usr/bin instead of
/usr/sbin under UNIX. Of course, reslog don't need installation
at all. :p
10. Version number is changed from 3 digits (2.1.0) to 2 digits
(3.00), according to the Perl module convention.
11. ChangeLog is renamed as Changes, as what ExtUtils::MakeMaker
expects.
2003-01-04
1. File handler EOF read checks were fixed with defined().
2002-11-13
1. Long statistic lines are split for easy reading.
2. open_src() was rewritten according to open_src() in arclog.pl, in
order to use comression with gzip and bzip2 binary executables.
2002-11-12
1. RELEASE_NOTES was renamed as ChangeLog.
2. AUTHORS was added.
3. THANKS was added.
4. The option checking logic was rewritten.
5. Fixed several places where $WORKING_SRC was not locked when
created with tempfile.
6. Fixed several places where spaces are between function name and
its opening parenthesis, according to perlstyle(1).
7. Unnecessary parenthesis after slice and catfile were removed.
2002-10-28
1. Fixed a bug that $WORKING_RES was not locked when opened. But it
is unlocked when closed. On some systems (like Linux) you can
request unlock on a filehandle that is not previous locked, but on
some others (like MSWin32) requesting unlock on a filehande that
is not previous locked will cause error. $WORKING_RES doesn't
really need locking at all. It is an anonymous temporary file
handle, that can be accessed by this same working process only.
It has no risk of simultaneously writing without threading, and
I'm not doing threading here. I just lock it for a consistent
programming style. (Thanks to Chen-hsiu Huang
<chenhsiu@gens.dhs.org> for reporting this.)
2002-09-28
1. File::MMagic and file are now used to check the file type, in
addition to the file name suffix, with a more preferred order.
2. check_file_type() was added to check the file types by either
File::MMaagic or file.
3. check_gzip() was added to check the gzip method to use.
4. check_bzip2() was added to check the bzip2 method to use.
2002-09-18 version 2.1.0dev2
SourceForge Memorial Release. It's my first time to apply a project
from SourceForge. Mostly are corrections to the documentation.
SourceForge's project page is added to the available download source
here.
1. reslog.pl's official home page at Tavern IMACAT's was restored.
2. The previous version was renamed from 2.1.0-dev1 to 2.1.0dev1, in
order to unify the version number theme.
3. The project space at SourceForge was applied. Package files are
uploaded to SourceForge now.
4. Project virtual host at SourceForge was set up.
5. SourceForge was added into the documentation as an official
website and download source.
6. Documentation were corrected. Too many places were corrected.
Ignored.
7. HTML document was rewritten to accommodate
XHTML 1.1 recommendation.
2002-08-31 version 2.1.0dev1
Rewrite after almost 1 year, to be run on the newly-released Perl
5.8.0.
1. Filehandles are now saved and passed in global named variables.
This is the way it should be. The old way (initialize the file
handles by duplicate the STDIN and assign them) was just not
natural. It works in Perl 5.6.1, but not in Perl 5.8.0. The
duplicated filehandles are constants, which cannot be assigned new
values.
2. Indents are changed from 1 tab to 4 columns, to accommodate the
Perl style guide documented in perlstyle(1). This increases the
code readability.
3. File operation error handlers are now using the
low-precedence logical "or", instead of "||",
which is recommended in perlop(1). Excessive
parentheses in file operation functions are
removed for this.
4. Traditional Chinese files are now named with suffix ".zh-tw"
instead of ".b5". Simplified Chinese files are now named with
suffix ".zh-cn" instead of ".gb". This is to accommodate
RFC-3066, ISO 639:1988, ISO 3166-1 for language names.
5. PGP signatures of distribution files are added.
6. bzip2 distribution files are added.
2001-09-03 version 2.0.2
1. The bug that taking file handles as private variables and modified
them, was fixed.
2001-09-01 version 2.0.1
1. The bug that resolved cache %NAMES was not global, was fixed. The
resolved result can be pass between multiple files now.
2. A bug that a hyper reference in the English document was not
specified as an absolute URL, was fixed.
2001-06-29 version 2.0.0
First public release.
1. Chinese and English standard header were added.
2. Getopt::Long was introduced to parse the arguments, in replace of
my own argument-parsing routine.
3. File::Spec::Functions was introduced to handle the pathnames.
4. Cwd was introduced to obtain the current working directory.
5. autoflush from IO::Handle was introduced, to autoflush STDOUT
solely under debugging mode.
6. File::Temp was introduced to handle the temporary working file.
Processing is done on temporary working files to reduce the time
occupying the source and result files.
7. Compress::Zlib was used to read the compressed files.
8. rel2abs() was added to convert relative paths to absolute paths.
9. progress_bar() was added to display current status graphically.
10. res_log() was added to loop multiple files.
11. open_src() and save_res() to open source and save result.
12. POD documents was added.
13. Release notes was added.
14. Readme file was added.
15. GNU General Public License was added.
16. Installation guide was added.
17. Install.PL was added in the distribution.
2001-01-21 version 1.3.1
1. autoflush was modified to do only under debugging mode.
2. Simple header was changed standard header.
2001-01-07 version 1.3.0
1. [current/total] was added in the detailed processing messages.
2000-??-?? version 1.2.0
1. Custom parse_args() was added to parse the command line arguments.
2000-??-?? version 1.1.0
1. "--usetmp" was added to process temporary working files.
2. "--suffix" was added to alter the output suffix.
3. "--debug" was added to show detailed processing messages.
2000-12-22 version 1.0.0
First version.

192
INSTALL Normal file
View File

@ -0,0 +1,192 @@
reslog Installation Guide
* Table of Contents
* System Requirements
* Installation Instruction
** Install with ExtUtils::MakeMaker
** Install with Module::Build
* System Requirements
1. Perl, version 5.8.0 or above. reslog uses 3-argument open() to
duplicate filehandles, which is only supported since 5.8.0. I have
not successfully port this onto earlier versions yet. Please tell me
if you made it. You can run perl -v to see your current Perl version.
If you do not have Perl, or if you have an older version of Perl, you
can download and install/upgrade it from Perl website.
http://www.perl.com/
If you are using MS-Windows, you can download and install
ActiveState ActivePerl.
http://www.activestate.com/
2. Required Perl modules: None.
3. Optional Perl Modules
* File::MMagic
This is used to check the file type. If this is not
available, reslog will look for the file executable instead.
If that is not available, too, reslog will judge the file type
by its name suffix (extension). In that case reslog will fail
when reading from STDIN.
You can download and install File::MMagic from the CPAN archive
http://search.cpan.org/dist/File-MMagic/ ,
or install it with the CPAN shell by running "cpan File::MMagic",
or install it with the CPANPLUS shell by running
"cpanp i File::MMagic".
Debian/Ubandu Linux users can install it by running
"apt-get install libfile-mmagic-perl".
Red Hat/Fedora/CentOS Linux users can install it by running
"yum install perl-File-MMagic".
FreeBSD users can install it by running
"ports install p5-File-MMagic".
ActivePerl users can install it by running
"ppm install File::MMagic".
The alternative file.exe for MS-Windows can be obtained from
the GnuWin32 home page: http://gnuwin32.sourceforge.net/.
Be sure to save it as file.exe somewhere in your PATH.
It is preferred to use File::MMagic. The file executable
seems to make mistakes occationally.
* Compress::Zlib
This is used to support read/write of gzip compressed files.
It is only needed when gzip compressed files are encountered.
If it is not available when needed, reslog will try to use the
gzip executable instead. If that is not available, too, reslog
will fail.
You can download and install Compress::Zlib from the CPAN archive
http://search.cpan.org/dist/Compress-Zlib/ ,
or install it with the CPAN shell by running "cpan Compress::Zlib",
or install it with the CPANPLUS shell by running
"cpanp i Compress::Zlib".
Debian/Ubandu Linux users can install it by running
"apt-get install libcompress-zlib-perl".
Red Hat/Fedora/CentOS Linux users can install it by running
"yum install perl-Compress-Zlib".
FreeBSD users can install it by running
"ports install p5-Compress-Zlib".
ActivePerl users can install it by running
"ppm install Compress::Zlib".
The alternative gzip.exe for MS-Windows can be obtained from
the gzip home page: http://www.gzip.org/.
Be sure to save it as gzip.exe somewhere in your PATH.
* Compress::Bzip2, version 2 or above
This is used to support read/write of bzip2 compressed
files. It is only needed when bzip2 compressed files are
encountered. If it is not available when needed, reslog will
try to use the bzip2 executable instead. If that is not
available, too, reslog will fail. Notice that older versions
before 2 does not work, since file I/O compression were not
implemented yet.
You can download and install Compress::Bzip2 from the CPAN archive
http://search.cpan.org/dist/Compress-Bzip2/ ,
or install it with the CPAN shell by running "cpan Compress::Bzip2",
or install it with the CPANPLUS shell by running
"cpanp i Compress::Bzip2".
Debian/Ubandu Linux users can install it by running
"apt-get install libcompress-bzip2-perl".
Red Hat/Fedora/CentOS Linux users can install it by running
"yum install perl-Compress-Bzip2".
FreeBSD users can install it by running
"ports install p5-Compress-Bzip2".
ActivePerl users can install it by running
"ppm install Compress::Bzip2".
The alternative bzip2.exe for MS-Windows can be obtained from
the bzip2 home page: http://www.bzip.org/.
Be sure to save it as bzip2.exe somewhere in your PATH.
* Term::ReadKey
This is used to display the progress bar. Without this
reslog will not display the progress bar, but nothing else is
different. The progress bar is a good visual representation of
what reslog is currently doing.
You can download and install Term::ReadKey from the CPAN archive
http://search.cpan.org/dist/TermReadKey/ ,
or install it with the CPAN shell by running "cpan Term::ReadKey",
or install it with the CPANPLUS shell by running
"cpanp i Term::ReadKey".
Debian/Ubandu Linux users can install it by running
"apt-get install libterm-readkey-perl".
Red Hat/Fedora/CentOS Linux users can install it by running
"yum install perl-TermReadKey".
FreeBSD users can install it by running
"ports install p5-Term-ReadKey".
ActivePerl users can install it by running
"ppm install Term::ReadKey".
* Installation Instruction
If you are upgrading from reslog 3.10 or earlier, or if you are
upgrading from reslog.pl 3.02 or earlier, please read UPGRADE for some
upgrade instruction.
** Install with ExtUtils::MakeMaker
reslog uses standard Perl installation with ExtUtils::MakeMaker.
Follow these steps:
% perl Makefile.PL
% make
% make test
% make install
When running make install, make sure you have the priviledge to
write to the installation location. This usually requires the root
priviledge.
If you are using ActivePerl under MS-Windows, you should use
nmake instead of make. nmake can be obtained from the Microsoft FTP
site.
ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe
If you want to install into another location, you can set the
PREFIX. For example, to install into your home when you are not
root:
% perl Makefile.PL PREFIX=/home/jessica
Refer to the docuemntation of ExtUtils::MakeMaker for more
installation options (by running perldoc ExtUtils::MakeMaker).
** Install with Module::Build
You can install with Module::Build instead, if you prefer.
Follow these steps:
% perl Build.PL
% ./Build
% ./Build test
% ./Build install
When running ./Build install, make sure you have the priviledge to
write to the installation location. This usually requires the root
priviledge.
If you want to install into another location, you can set the
--prefix. For example, to install into your home when you are not
root:
% perl Build.PL --prefix=/home/jessica
Refer to the docuemntation of Module::Build for more
installation options (by running perldoc Module::Build).
imacat
2008-11-17
imacat@mail.imacat.idv.tw
http://www.imacat.idv.tw/

167
INSTALL.zh-cn Normal file
View File

@ -0,0 +1,167 @@
reslog <20><>װָ<D7B0><D6B8>
<EFBFBD><EFBFBD>Ŀ¼
<20><>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>װָ<D7B0><D6B8>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ExtUtils::MakeMaker <20><>װ
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Module::Build <20><>װ
<EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
1. Perl 5.8.0 <20><><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD> reslog ʹ<><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> open() <20>Ը<EFBFBD><D4B8>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD>֪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ô<EFBFBD><EFBFBD>д<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ汾<EFBFBD><EFBFBD>ִ<EFBFBD>С<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD>д<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ汾<EFBFBD><EFBFBD>ִ<EFBFBD>У<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> perl -v <20><>ѯ<EFBFBD><D1AF>Ŀǰ<C4BF><C7B0> Perl <20><EFBFBD><E6B1BE>Ŀǰ<C4BF><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Unix
ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> Perl <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB> Perl <20><><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD> Perl <20><>վ<EFBFBD><D5BE><EFBFBD>ذ<EFBFBD>װ<EFBFBD><D7B0>
<EFBFBD>°<EFBFBD> Perl <20><>
http://www.perl.com/
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> MS-Windows <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ ActiveState <20><>˾<EFBFBD><CBBE> ActivePerl <20><>
http://www.activestate.com/
2. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Perl ģ<><EFBFBD>ޡ<EFBFBD>
3. ѡ<><D1A1><EFBFBD><EFBFBD> Perl ģ<>
* File::MMagic
<20><><EFBFBD>Ǽ<EFBFBD><C7BC><EFBFBD><E9B5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õġ<C3B5><C4A1><EFBFBD>û<EFBFBD>а<EFBFBD>װ<EFBFBD><D7B0> reslog <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5> file <20><>
ʽ<><CABD><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD> reslog <20><><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>β<EFBFBD><CEB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>жϵ<D0B6><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD><CDA1><EFBFBD>
ʱ<><CAB1><EFBFBD>ӱ<EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> reslog <20><><EFBFBD>޷<EFBFBD><DEB7>жϡ<D0B6>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CPAN ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ File::MMagic <20><>
http://search.cpan.org/dist/File-MMagic/ <20><>
<20><><EFBFBD><EFBFBD> CPAN Shell ִ<><D6B4> cpan File::MMagic <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD> CPANPLUS Shell ִ<><D6B4> cpanp i File::MMagic <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Debian/Ubandu Linux ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
apt-get install libfile-mmagic-perl <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Red Hat/Fedora/CentOS Linux ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
yum install perl-File-MMagic <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> FreeBSD ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
ports install p5-File-MMagic <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ActivePerl ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
ppm install File::MMagic <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA> MS-Windows <20><>ʹ<EFBFBD><CAB9> file.exe <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
GnuWin32 <20><>վ<EFBFBD><D5BE><EFBFBD>أ<EFBFBD> http://gnuwin32.sourceforge.net/ <20><>
<20><>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD>غ󣬴浵<F3A3ACB4><E6B5B5>ϵͳ<CFB5><CDB3>·<EFBFBD><C2B7><EFBFBD>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD>Ϊ file.exe <20><>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> File::MMagic <20><> file <20><>ʽż<CABD><C5BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD>
* Compress::Zlib
<20><><EFBFBD>Ǵ<EFBFBD><C7B4><EFBFBD> gzip ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD>õģ<C3B5>ֻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD> gzip ѹ<><D1B9><EFBFBD><EFBFBD>ʱ<EFBFBD>Ż<EFBFBD><C5BB>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD>
Ҫ<><D2AA>ʱû<CAB1>а<EFBFBD>װ<EFBFBD><D7B0> reslog <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> gzip <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD>
reslog <20><><EFBFBD>޷<EFBFBD>ִ<EFBFBD>С<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CPAN ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ Compress::Zlib <20><>
http://search.cpan.org/dist/Compress-Zlib/ <20><>
<20><><EFBFBD><EFBFBD> CPAN Shell ִ<><D6B4> cpan Compress::Zlib <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD> CPANPLUS Shell ִ<><D6B4> cpanp i Compress::Zlib <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Debian/Ubandu Linux ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
apt-get install libcompress-zlib-perl <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Red Hat/Fedora/CentOS Linux ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
yum install perl-Compress-Zlib <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> FreeBSD ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
ports install p5-Compress-Zlib <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ActivePerl ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
ppm install Compress::Zlib <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA> MS-Windows <20><>ʹ<EFBFBD><CAB9> gzip.exe <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
gzip <20><>վ<EFBFBD><D5BE><EFBFBD>أ<EFBFBD> http://www.gzip.org/ <20><>
<20><>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD>غ󣬴浵<F3A3ACB4><E6B5B5>ϵͳ<CFB5><CDB3>·<EFBFBD><C2B7><EFBFBD>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD>Ϊ gzip.exe <20><>
* Compress::Bzip2 <20>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>֧Ԯ<D6A7><D4AE>д bzip2 ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD>õģ<C3B5>ֻ<EFBFBD>д<EFBFBD><D0B4><EFBFBD> bzip2 ѹ<><D1B9><EFBFBD><EFBFBD>ʱ<EFBFBD>Ż<EFBFBD><C5BB><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ʱû<CAB1>а<EFBFBD>װ<EFBFBD><D7B0> reslog <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> bzip2 <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> reslog <20><><EFBFBD>޷<EFBFBD>ִ<EFBFBD>С<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CPAN ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ Compress::Bzip2 <20><>
http://search.cpan.org/dist/Compress-Bzip2/ <20><>
<20><><EFBFBD><EFBFBD> CPAN Shell ִ<><D6B4> cpan Compress::Bzip2 <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD> CPANPLUS Shell ִ<><D6B4> cpanp i Compress::Bzip2 <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Debian/Ubandu Linux ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
apt-get install libcompress-bzip2-perl <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Red Hat/Fedora/CentOS Linux ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
yum install perl-Compress-Bzip2 <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> FreeBSD ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
ports install p5-Compress-Bzip2 <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ActivePerl ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
ppm install Compress::Bzip2 <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA> MS-Windows <20><>ʹ<EFBFBD><CAB9> bzip2.exe <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
bzip2 <20><>վ<EFBFBD><D5BE><EFBFBD>أ<EFBFBD> http://www.bzip.org/ <20><>
<20><>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD>غ󣬴浵<F3A3ACB4><E6B5B5>ϵͳ<CFB5><CDB3>·<EFBFBD><C2B7><EFBFBD>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD>Ϊ bzip2.exe <20><>
* Term::ReadKey
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õģ<C3B5><C4A3><EFBFBD>û<EFBFBD>а<EFBFBD>װ<EFBFBD><D7B0><EFBFBD>Ͳ<EFBFBD><CDB2><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><E2B2BB><EFBFBD><EFBFBD>
<20>κ<EFBFBD><CEBA><EFBFBD><EFBFBD><EFBFBD><E2A1A3><EFBFBD><EFBFBD><EFBFBD>п<EFBFBD><D0BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> reslog <20>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һĿ<D2BB><C4BF>Ȼ<EFBFBD><C8BB>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CPAN ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ Term::ReadKey <20><>
http://search.cpan.org/dist/TermReadKey/ <20><>
<20><><EFBFBD><EFBFBD> CPAN Shell ִ<><D6B4> cpan Term::ReadKey <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD> CPANPLUS Shell ִ<><D6B4> cpanp i Term::ReadKey <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Debian/Ubandu Linux ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
apt-get install libterm-readkey-perl <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Red Hat/Fedora/CentOS Linux ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
yum install perl-TermReadKey <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> FreeBSD ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
ports install p5-Term-ReadKey <20><>װ<EFBFBD><D7B0>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ActivePerl ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
ppm install Term::ReadKey <20><>װ<EFBFBD><D7B0>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>װָ<EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> reslog 3.10 <20><>ǰ<EFBFBD>İ汾<C4B0><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> reslog.pl 3.02 <20><>ǰ<EFBFBD><C7B0>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> UPGRADE.zh-tw <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ExtUtils::MakeMaker <20><>װ
reslog <20><> Perl <20><>׼<EFBFBD><D7BC> ExtUtils::MakeMaker <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD>
% perl Makefile.PL
% make
% make test
% make install
<20><> make install ǰ<><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڰ<EFBFBD>װĿ¼<C4BF><EFBFBD><E6B5B5>Ȩ<EFBFBD>ޡ<EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
Ҫ<EFBFBD>л<EFBFBD>Ϊ root <20><><EFBFBD><EFBFBD><EFBFBD>ܰ<EFBFBD>װ<EFBFBD><EFBFBD><E6B5B5>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> MS-Windows <20>µ<EFBFBD> ActivePerl <20><> make <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> nmake <20><> nmake
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>΢<EFBFBD><EFBFBD><EFBFBD><EFBFBD> FTP վ<><D5BE><EFBFBD>أ<EFBFBD>
ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe
<20><>Ҫ<EFBFBD><D2AA>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ط<EFBFBD><D8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B6A8> PREFIX <20><><EFBFBD><EFBFBD><EFBFBD>һ<E7A3AC><D2BB>ʹ<EFBFBD><CAB9><EFBFBD>ߣ<EFBFBD>Ҫ<EFBFBD><D2AA>װ<EFBFBD><D7B0>
<EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD>Ŀ¼<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>
% perl Makefile.PL PREFIX=/home/jessica
Ҫ֪<D2AA><D6AA><EFBFBD><EFBFBD><EFBFBD>లװѡ<D7B0><D1A1><EFBFBD><EFBFBD>ϸ<EFBFBD>ڣ<EFBFBD><DAA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ExtUtils::MakeMaker <20><>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ
<EFBFBD><EFBFBD> perldoc ExtUtils::MakeMaker <20><><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Module::Build <20><>װ
<20><><EFBFBD><EFBFBD>ϲ<EFBFBD><CFB2><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Module::Build <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD>
% perl Build.PL
% ./Build
% ./Build test
% ./Build install
<20><> ./Build install ǰ<><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڰ<EFBFBD>װĿ¼<C4BF><EFBFBD><E6B5B5>Ȩ<EFBFBD>ޡ<EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD>ʱ
<EFBFBD><EFBFBD>Ҫ<EFBFBD>л<EFBFBD>Ϊ root <20><><EFBFBD><EFBFBD><EFBFBD>ܰ<EFBFBD>װ<EFBFBD><EFBFBD><E6B5B5>
<20><>Ҫ<EFBFBD><D2AA>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ط<EFBFBD><D8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B6A8> --prefix <20><><EFBFBD><EFBFBD><EFBFBD>һ<E7A3AC><D2BB>ʹ<EFBFBD><CAB9><EFBFBD>ߣ<EFBFBD>Ҫ<EFBFBD><D2AA>װ
<EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD>Ŀ¼<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>
% perl Build.PL --prefix=/home/jessica
Ҫ֪<D2AA><D6AA><EFBFBD><EFBFBD><EFBFBD>లװѡ<D7B0><D1A1><EFBFBD><EFBFBD>ϸ<EFBFBD>ڣ<EFBFBD><DAA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Module::Build <20><>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4>
perldoc Module::Build <20><><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>è
2008-11-18
imacat@mail.imacat.idv.tw
http://www.imacat.idv.tw/

167
INSTALL.zh-tw Normal file
View File

@ -0,0 +1,167 @@
reslog <20>w<EFBFBD>˫<EFBFBD><CBAB>n
<EFBFBD><EFBFBD><EFBFBD>ؿ<EFBFBD>
<20><><EFBFBD>t<EFBFBD>λݨD
<20><><EFBFBD>w<EFBFBD>˫<EFBFBD><CBAB>n
<20><><EFBFBD><EFBFBD><EFBFBD>H ExtUtils::MakeMaker <20>w<EFBFBD><77>
<20><><EFBFBD><EFBFBD><EFBFBD>H Module::Build <20>w<EFBFBD><77>
<EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>λݨD
1. Perl 5.8.0 <20>ΥH<CEA5>W<EFBFBD>C reslog <20>ϥΤT<CEA4>Ѽƪ<D1BC> open() <20>H<EFBFBD>ƻs<C6BB>ɮ׾ާ@<40>A
<EFBFBD><EFBFBD><EFBFBD>٤<EFBFBD><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD><EFBFBD><EFBFBD>󦭪<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>Y<EFBFBD>p<EFBFBD>i<EFBFBD>H<EFBFBD><EFBFBD><EFBFBD>g<EFBFBD><EFBFBD><EFBFBD>󦭪<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A
<EFBFBD>Чi<EFBFBD>D<EFBFBD>ڡC<EFBFBD>p<EFBFBD>i<EFBFBD>H<EFBFBD><EFBFBD><EFBFBD>J perl -v <20>d<EFBFBD>ߩp<DFA9>ثe<D8AB><65> Perl <20><><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>ثe<D8AB>j<EFBFBD>h<EFBFBD>ƪ<EFBFBD> Unix
<EFBFBD>t<EFBFBD>γ<EFBFBD><EFBFBD><EFBFBD> Perl <20>C<EFBFBD>p<EFBFBD>G<EFBFBD>p<EFBFBD>S<EFBFBD><53> Perl <20>λݭn<DDAD>@<40>šA<C5A1>i<EFBFBD>H<EFBFBD><48> Perl <20><><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD>w<EFBFBD>˳<EFBFBD>
<EFBFBD>s<EFBFBD><EFBFBD> Perl <20>C
http://www.perl.com/
<20>Y<EFBFBD>p<EFBFBD><70> MS-Windows <20>A<EFBFBD>i<EFBFBD>H<EFBFBD>U<EFBFBD><55><EFBFBD>w<EFBFBD><77> ActiveState <20><><EFBFBD>q<EFBFBD><71> ActivePerl <20>C
http://www.activestate.com/
2. <20>ݷf<DDB7>t<EFBFBD><74> Perl <20>ҲաG<D5A1>L<EFBFBD>C
3. <20><><EFBFBD>t<EFBFBD><74> Perl <20>ҲաG
* File::MMagic
<20>o<EFBFBD>O<EFBFBD>ˬd<CBAC>ɮ<EFBFBD><C9AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>C<EFBFBD>Y<EFBFBD>S<EFBFBD><53><EFBFBD>w<EFBFBD>ˡA reslog <20>|<7C>յۥh<DBA5><68> file <20>{
<20><><EFBFBD>N<EFBFBD><4E><EFBFBD>C<EFBFBD>Y<EFBFBD>٧<D9A7><E4A4A3><EFBFBD>A reslog <20>|<7C><><EFBFBD><EFBFBD><EFBFBD>ɧ<EFBFBD><C9A7>]<5D><><EFBFBD>ɦW<C9A6>^<5E>P<EFBFBD>_<EFBFBD>ɮ<EFBFBD><C9AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>o
<20>ɭY<C9AD>q<EFBFBD>зǿ<D0B7><C7BF><4A>ɡA reslog <20>|<7C>L<EFBFBD>k<EFBFBD>P<EFBFBD>_<EFBFBD>C
<20>p<EFBFBD>i<EFBFBD>H<EFBFBD><48> CPAN <20>Ҳծw<D5AE>U<EFBFBD><55><EFBFBD>w<EFBFBD><77> File::MMagic <20>G
http://search.cpan.org/dist/File-MMagic/ <20>A
<20>Υ<EFBFBD> CPAN Shell <20><><EFBFBD><EFBFBD> cpan File::MMagic <20>w<EFBFBD>ˡA
<20>Υ<EFBFBD> CPANPLUS Shell <20><><EFBFBD><EFBFBD> cpanp i File::MMagic <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O Debian/Ubandu Linux <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
apt-get install libfile-mmagic-perl <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O Red Hat/Fedora/CentOS Linux <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
yum install perl-File-MMagic <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O FreeBSD <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
ports install p5-File-MMagic <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O ActivePerl <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
ppm install File::MMagic <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>n<EFBFBD>b MS-Windows <20>U<EFBFBD>ϥ<EFBFBD> file.exe <20>{<7B><><EFBFBD>A<EFBFBD>i<EFBFBD>H<EFBFBD><48>
GnuWin32 <20><><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD>G http://gnuwin32.sourceforge.net/ <20>C
<20>нT<D0BD>{<7B>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>s<EFBFBD>ɦb<C9A6>t<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>|<7C>U<EFBFBD>A<EFBFBD>ɦW<C9A6><57> file.exe <20>C
<20><>ij<EFBFBD><C4B3> File::MMagic <20>C file <20>{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>|<7C>~<7E>P<EFBFBD>C
* Compress::Zlib
<20>o<EFBFBD>O<EFBFBD>B<EFBFBD>z gzip <20><><EFBFBD>Y<EFBFBD>ɥΪ<C9A5><CEAA>A<EFBFBD>u<EFBFBD><75><EFBFBD>B<EFBFBD>z gzip <20><><EFBFBD>Y<EFBFBD>ɮɤ~<7E>|<7C>Ψ<EFBFBD><CEA8>C<EFBFBD>Y
<20>n<EFBFBD>ήɨS<C9A8><53><EFBFBD>w<EFBFBD>ˡA reslog <20>|<7C>յۧ<D5B5><DBA7><EFBFBD> gzip <20>{<7B><><EFBFBD>N<EFBFBD><4E><EFBFBD>C<EFBFBD>Y<EFBFBD>٧<D9A7><E4A4A3><EFBFBD>A
reslog <20>N<EFBFBD>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD>C
<20>p<EFBFBD>i<EFBFBD>H<EFBFBD><48> CPAN <20>Ҳծw<D5AE>U<EFBFBD><55><EFBFBD>w<EFBFBD><77> Compress::Zlib <20>G
http://search.cpan.org/dist/Compress-Zlib/ <20>A
<20>Υ<EFBFBD> CPAN Shell <20><><EFBFBD><EFBFBD> cpan Compress::Zlib <20>w<EFBFBD>ˡA
<20>Υ<EFBFBD> CPANPLUS Shell <20><><EFBFBD><EFBFBD> cpanp i Compress::Zlib <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O Debian/Ubandu Linux <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
apt-get install libcompress-zlib-perl <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O Red Hat/Fedora/CentOS Linux <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
yum install perl-Compress-Zlib <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O FreeBSD <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
ports install p5-Compress-Zlib <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O ActivePerl <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
ppm install Compress::Zlib <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>n<EFBFBD>b MS-Windows <20>U<EFBFBD>ϥ<EFBFBD> gzip.exe <20>{<7B><><EFBFBD>A<EFBFBD>i<EFBFBD>H<EFBFBD><48>
gzip <20><><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD>G http://www.gzip.org/ <20>C
<20>нT<D0BD>{<7B>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>s<EFBFBD>ɦb<C9A6>t<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>|<7C>U<EFBFBD>A<EFBFBD>ɦW<C9A6><57> gzip.exe <20>C
* Compress::Bzip2 <20>ĤG<C4A4><47><EFBFBD>H<EFBFBD>W
<20>o<EFBFBD>O<EFBFBD>䴩Ū<E4B4A9>g bzip2 <20><><EFBFBD>Y<EFBFBD>ɥΪ<C9A5><CEAA>A<EFBFBD>u<EFBFBD><75><EFBFBD>B<EFBFBD>z bzip2 <20><><EFBFBD>Y<EFBFBD>ɮɤ~<7E>|<7C><>
<20><><EFBFBD>C<EFBFBD>Y<EFBFBD>n<EFBFBD>ήɨS<C9A8><53><EFBFBD>w<EFBFBD>ˡA reslog <20>|<7C>յۧ<D5B5><DBA7><EFBFBD> bzip2 <20>{<7B><><EFBFBD>N<EFBFBD><4E><EFBFBD>C<EFBFBD>Y<EFBFBD>٧<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>A reslog <20>N<EFBFBD>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD>C
<20>p<EFBFBD>i<EFBFBD>H<EFBFBD><48> CPAN <20>Ҳծw<D5AE>U<EFBFBD><55><EFBFBD>w<EFBFBD><77> Compress::Bzip2 <20>G
http://search.cpan.org/dist/Compress-Bzip2/ <20>A
<20>Υ<EFBFBD> CPAN Shell <20><><EFBFBD><EFBFBD> cpan Compress::Bzip2 <20>w<EFBFBD>ˡA
<20>Υ<EFBFBD> CPANPLUS Shell <20><><EFBFBD><EFBFBD> cpanp i Compress::Bzip2 <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O Debian/Ubandu Linux <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
apt-get install libcompress-bzip2-perl <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O Red Hat/Fedora/CentOS Linux <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
yum install perl-Compress-Bzip2 <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O FreeBSD <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
ports install p5-Compress-Bzip2 <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O ActivePerl <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
ppm install Compress::Bzip2 <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>n<EFBFBD>b MS-Windows <20>U<EFBFBD>ϥ<EFBFBD> bzip2.exe <20>{<7B><><EFBFBD>A<EFBFBD>i<EFBFBD>H<EFBFBD><48>
bzip2 <20><><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><55><EFBFBD>G http://www.bzip.org/ <20>C
<20>нT<D0BD>{<7B>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>s<EFBFBD>ɦb<C9A6>t<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>|<7C>U<EFBFBD>A<EFBFBD>ɦW<C9A6><57> bzip2.exe <20>C
* Term::ReadKey
<20>o<EFBFBD>O<EFBFBD><4F><EFBFBD>ܶi<DCB6>צC<D7A6>Ϊ<EFBFBD><CEAA>A<EFBFBD>Y<EFBFBD>S<EFBFBD><53><EFBFBD>w<EFBFBD>ˡA<CBA1>N<EFBFBD><4E><EFBFBD>|<7C><><EFBFBD>ܶi<DCB6>צC<D7A6>C<EFBFBD><43><EFBFBD>~<7E><><EFBFBD>|<7C><>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>C<EFBFBD>i<EFBFBD>צC<D7A6>i<EFBFBD>H<EFBFBD><48><EFBFBD>p<EFBFBD><70> reslog <20><><EFBFBD>u<EFBFBD>@<40>i<EFBFBD>פ@<40><><EFBFBD>A<EFBFBD>M<EFBFBD>C
<20>p<EFBFBD>i<EFBFBD>H<EFBFBD><48> CPAN <20>Ҳծw<D5AE>U<EFBFBD><55><EFBFBD>w<EFBFBD><77> Term::ReadKey <20>G
http://search.cpan.org/dist/TermReadKey/ <20>A
<20>Υ<EFBFBD> CPAN Shell <20><><EFBFBD><EFBFBD> cpan Term::ReadKey <20>w<EFBFBD>ˡA
<20>Υ<EFBFBD> CPANPLUS Shell <20><><EFBFBD><EFBFBD> cpanp i Term::ReadKey <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O Debian/Ubandu Linux <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
apt-get install libterm-readkey-perl <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O Red Hat/Fedora/CentOS Linux <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
yum install perl-TermReadKey <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O FreeBSD <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
ports install p5-Term-ReadKey <20>w<EFBFBD>ˡC
<20>Y<EFBFBD>p<EFBFBD>O ActivePerl <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD>
ppm install Term::ReadKey <20>w<EFBFBD>ˡC
<EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>˫<EFBFBD><EFBFBD>n
<20>Y<EFBFBD>p<EFBFBD>O<EFBFBD><4F> reslog 3.10 <20>H<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>@<40>šA<C5A1>άO<CEAC><4F> reslog.pl 3.02 <20>H<EFBFBD>e<EFBFBD><65>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>@<40>šA<C5A1>аѾ\ UPGRADE.zh-tw <20>ɪ<EFBFBD><C9AA>@<40>Ż<EFBFBD><C5BB><EFBFBD><EFBFBD>C
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>H ExtUtils::MakeMaker <20>w<EFBFBD><77>
reslog <20><> Perl <20>зǪ<D0B7> ExtUtils::MakeMaker <20>w<EFBFBD>ˡA<CBA1>{<7B>Ǧp<C7A6>U<EFBFBD>G
% perl Makefile.PL
% make
% make test
% make install
<20>b make install <20>e<EFBFBD>A<EFBFBD>Х<EFBFBD><D0A5>T<EFBFBD>{<7B>p<EFBFBD><70><EFBFBD>b<EFBFBD>w<EFBFBD>˥ؿ<CBA5><D8BF>s<EFBFBD>ɪ<EFBFBD><C9AA>v<EFBFBD><76><EFBFBD>C<EFBFBD>q<EFBFBD>`<60>o<EFBFBD>ɭ<EFBFBD>
<EFBFBD>n<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> root <20>A<EFBFBD>~<7E><><EFBFBD>w<EFBFBD>˦s<CBA6>ɡC
<20>Y<EFBFBD>p<EFBFBD>O<EFBFBD><4F> MS-Windows <20>U<EFBFBD><55> ActivePerl <20>A make <20>Ч<EFBFBD><D0A7><EFBFBD> nmake <20>C nmake
<EFBFBD>i<EFBFBD>ѷL<EFBFBD>n<EFBFBD><EFBFBD> FTP <20><><EFBFBD>U<EFBFBD><55><EFBFBD>G
ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe
<20>Y<EFBFBD>n<EFBFBD>w<EFBFBD>˨<EFBFBD><CBA8><EFBFBD>a<EFBFBD><61><EFBFBD>A<EFBFBD>г]<5D>w<EFBFBD>n PREFIX <20>C<EFBFBD>Ҧp<D2A6>A<EFBFBD>@<40><><EFBFBD>ϥΪ̡A<CCA1>n<EFBFBD>w<EFBFBD>˦b
<EFBFBD>ۤv<EFBFBD><EFBFBD><EFBFBD>ؿ<EFBFBD><EFBFBD>U<EFBFBD>ɡG
% perl Makefile.PL PREFIX=/home/jessica
<20>n<EFBFBD><6E><EFBFBD>D<EFBFBD><44><EFBFBD>h<EFBFBD>w<EFBFBD>˿ﶵ<CBBF><EFB6B5><EFBFBD>Ӹ`<60>A<EFBFBD>аѾ\ ExtUtils::MakeMaker <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]<5D>а<EFBFBD>
<EFBFBD><EFBFBD> perldoc ExtUtils::MakeMaker <20>^<5E>C
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>H Module::Build <20>w<EFBFBD><77>
<20>Y<EFBFBD>p<EFBFBD><70><EFBFBD>w<EFBFBD>A<EFBFBD>]<5D>i<EFBFBD>H<EFBFBD><48> Module::Build <20>w<EFBFBD>ˡA<CBA1>{<7B>Ǧp<C7A6>U<EFBFBD>G
% perl Build.PL
% ./Build
% ./Build test
% ./Build install
<20>b ./Build install <20>e<EFBFBD>A<EFBFBD>Х<EFBFBD><D0A5>T<EFBFBD>{<7B>p<EFBFBD><70><EFBFBD>b<EFBFBD>w<EFBFBD>˥ؿ<CBA5><D8BF>s<EFBFBD>ɪ<EFBFBD><C9AA>v<EFBFBD><76><EFBFBD>C<EFBFBD>q<EFBFBD>`<60>o<EFBFBD><6F>
<EFBFBD>ԭn<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> root <20>A<EFBFBD>~<7E><><EFBFBD>w<EFBFBD>˦s<CBA6>ɡC
<20>Y<EFBFBD>n<EFBFBD>w<EFBFBD>˨<EFBFBD><CBA8><EFBFBD>a<EFBFBD><61><EFBFBD>A<EFBFBD>г]<5D>w<EFBFBD>n --prefix <20>C<EFBFBD>Ҧp<D2A6>A<EFBFBD>@<40><><EFBFBD>ϥΪ̡A<CCA1>n<EFBFBD>w<EFBFBD><77>
<EFBFBD>b<EFBFBD>ۤv<EFBFBD><EFBFBD><EFBFBD>ؿ<EFBFBD><EFBFBD>U<EFBFBD>ɡG
% perl Build.PL --prefix=/home/jessica
<20>n<EFBFBD><6E><EFBFBD>D<EFBFBD><44><EFBFBD>h<EFBFBD>w<EFBFBD>˿ﶵ<CBBF><EFB6B5><EFBFBD>Ӹ`<60>A<EFBFBD>аѾ\ Module::Build <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]<5D>а<EFBFBD><D0B0><EFBFBD>
perldoc Module::Build <20>^<5E>C
<EFBFBD>̺<EFBFBD><EFBFBD><EFBFBD>
2008-11-18
imacat@mail.imacat.idv.tw
http://www.imacat.idv.tw/

38
MANIFEST Normal file
View File

@ -0,0 +1,38 @@
AUTHORS
AUTHORS.zh-cn
AUTHORS.zh-tw
Build.PL
Changes
COPYING
fdl.txt
INSTALL
INSTALL.zh-cn
INSTALL.zh-tw
Makefile.PL
MANIFEST This list of files
META.yml
NEWS
pgpkey.asc
README
README.zh-cn
README.zh-tw
reslog
reslog.en.html
reslog.zh-cn.html
reslog.zh-tw.html
SIGNATURE
t/00-signature.t
t/01-exhaust.t
t/02-several.t
t/03-errors.t
t/99-pod.t
t/_helper.pm
THANKS
THANKS.zh-cn
THANKS.zh-tw
TODO
TODO.zh-cn
TODO.zh-tw
UPGRADE
UPGRADE.zh-cn
UPGRADE.zh-tw

13
META.yml Normal file
View File

@ -0,0 +1,13 @@
--- #YAML:1.0
name: reslog
version: 3.16
abstract: Reverse-resolve IP in Apache log files
license: gpl
author:
- imacat <imacat@mail.imacat.idv.tw>
generated_by: ExtUtils::MakeMaker version 6.38
distribution_type: module
requires:
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.3.html
version: 1.3

89
Makefile.PL Executable file
View File

@ -0,0 +1,89 @@
#! /usr/bin/perl -w
# Makefile.PL: Installation configuration for ExtUtils::MakeMaker
use 5.008;
use strict;
use warnings;
use Config qw(%Config);
use ExtUtils::MakeMaker;
# Check if there is any old file
use vars qw(%old_version);
%old_version = qw();
foreach (qw(/usr/sbin/reslog.pl
/usr/sbin/reslog
/usr/share/man/man8/reslog.pl.8
/usr/share/man/man8/reslog.8
/usr/local/sbin/reslog.pl
/usr/local/sbin/reslog
/usr/local/share/man/man8/reslog.pl.8
/usr/local/share/man/man8/reslog.8)) {
$old_version{$_} = 1 if -e $_;
}
foreach my $cnf (qw(installman1dir installsiteman1dir installvendorman1dir
man1dir man1direxp siteman1dir siteman1direxp sysman
vendorman1dir vendorman1direxp)) {
next unless defined $Config{$cnf} && -d $Config{$cnf};
$_ = $Config{$cnf};
s/\/man1$/\/man8/;
$old_version{"$_/reslog.8"} = 1 if -e "$_/reslog.8";
$old_version{"$_/reslog.pl.8"} = 1 if -e "$_/reslog.pl.8";
}
foreach my $cnf (qw(installscript installsitescript installvendorscript
scriptdir scriptdirexp sitescript sitescriptexp
vendorscript vendorscriptexp
bin binexp installbin installsitebin installvendorbin
sitebin sitebinexp vendorbin vendorbinexp)) {
next unless defined $Config{$cnf} && -d $Config{$cnf};
$_ = $Config{$cnf};
s/\/bin$/\/sbin/;
$old_version{"$_/reslog"} = 1 if -e "$_/reslog";
$old_version{"$_/reslog.pl"} = 1 if -e "$_/reslog.pl";
}
if (keys %old_version > 0) {
$_ = join " ", sort keys %old_version;
warn << "EOT";
-- Old Files Found
You may remove the following old files after "make install":
$_
EOT
}
# Optional prerequisite modules
use vars qw(%OPT_PREREQ);
%OPT_PREREQ = (
"File::MMagic" => 0,
"Compress::Zlib" => 0,
"Compress::Bzip2" => 2,
"Term::ReadKey" => 0,
);
delete $OPT_PREREQ{$_}
foreach grep eval "use $_ $OPT_PREREQ{$_} qw(); 1;", sort keys %OPT_PREREQ;
if (keys %OPT_PREREQ > 0) {
$_ = join " ", sort keys %OPT_PREREQ;
warn << "EOT";
-- Optional Prerequisites
You may wish to install these modules altogether.
$_
EOT
}
WriteMakefile(
NAME => "reslog",
VERSION_FROM => "reslog",
ABSTRACT => "Reverse-resolve IP in Apache log files",
AUTHOR => "imacat <imacat\@mail.imacat.idv.tw>",
LICENSE => "gpl",
PREREQ_PM => { },
SIGN => 1,
EXE_FILES => [ "reslog" ],
dist => {
COMPRESS => "gzip -9",
SUFFIX => ".gz",
},
clean => {
FILES => "t/logs*",
},
);
__END__

75
NEWS Normal file
View File

@ -0,0 +1,75 @@
New in 3.16:
* Fixed a bug with empty files created with Compress::Bzip2.
New in 3.15:
* Fixed the minimal required Perl version in the Makefile.PL
installation.
New in 3.14:
* Documentation fixes.
* Test suite fixes.
New in 3.13:
* Many code enhancements, bug fixes, test suite enhancements and documentation fixes. Download reslog version 3.13.
New in 3.12:
* Fixed the error when there is no IP to be resolved.
New in 3.11:
* Fixed the problem with non-threaded Perl.
* Fixed the bug checking STDIN file type with the file program.
* Moved files back to the Perl default installation directories.
* Added support for installation with Module::Build.
New in 3.10:
* Documentation fixes.
New in 3.09:
* License updated to GPLv3
* Options can now be specified as "-ddd" instead of "-d -d -d",
with "bundling" used in Geoip::Long.
* Various fixes.
New in 3.08:
* Documentation fixes.
New in 3.07:
* Now reslog works on Linux, MS-Windows, Cygwin, Solaris, FreeBSD
and MacOSX Darwin.
New in 3.06:
* Test suite fixes.
New in 3.05:
* Fixed a bug that unavailable STDIN may cause error.
New in 3.04:
* Fixed a typo when loading File::MMagic.
New in 3.03:
* Default installation directory moved back to /sbin. Added
"make upgrade" to remove files from the old versions.
* Fixed errors with flock() locking.
New in 3.02:
* Run on MS-Windows and Cygwin.
* Various fixes.
New in 3.01:
* Fixed a serious bug that --suffix and --trim-suffix was obtaining
wrong value.
New in 3.00:
* ithreads Threading support is added so that it is really fast now.
* bzip2 compression is supported.
* Compressing and decompressing using gzip and bzip2 executables
without installing Compress::Zlib and Compress::Bzip2 is now
possible, although discouraged.
* Certain file name suffix can be removed before outputing the result
file, so that it can be line-up with other log file filters.
New in 2.1.0dev2:
* Documentation fixes.
New in 2.1.0dev1:
* Fixed the problem that it wouldn't run with Perl 5.8.0.

61
README Normal file
View File

@ -0,0 +1,61 @@
reslog - Reverse-resolve IP in Apache log files
Copyright (c) 2000-2007 imacat.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
reslog reverse-resolves IP in the Apache log files. These log files can
then be analyzed by another program, like Analog. You can think of it as a
replacement of Apache HostNameLookups directive, in the sense that it resolves
the client IP altogether once a day.
* Documentation
Type "perldoc reslog" to read the reslog manual.
* Installation
Read INSTALL for instructions on how to install reslog.
* News, Changes and Updates
Refer to the Changes for changes, bug fixes, updates, new functions, etc.
* Support
reslog's website is at http://reslog.sourceforge.net/. Visit the website
for the current information of reslog.
reslog has a mailing list reslog-users@lists.sourceforge.net. If you have
any question, comment, bug report, patch, please send it to the mailing list.
Join the list at https://lists.sourceforge.net/lists/listinfo/reslog-users .
Do not send mails directly to me unless you have private business with me.
The mailing list has an archive. People having the same trouble as you may
search the archive, find the answer and save a lot of time.
* License
This program is distributed under GNU Gneral Pulbic License (GPL). Please
refer to the COPYING file for the copyright and the license of this program.
imacat ^_*'
2007-11-26
imacat@mail.imacat.idv.tw
http://www.imacat.idv.tw/

55
README.zh-cn Normal file
View File

@ -0,0 +1,55 @@
reslog - Apache <20><>¼<EFBFBD><C2BC> IP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ
<20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD> (c) 2000-2007 <20><><EFBFBD><EFBFBD>è
<20><><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (Free Software Foundation)
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU ͨ<>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD> (GNU General Public License) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20>ĺ<EFBFBD><C4BA><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>ʹ<EFBFBD><CAB9><EFBFBD>κθ<CEBA><CEB8>µİ汾<C4B0><E6B1BE>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ʽ<EFBFBD><CABD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD>ϣ<EFBFBD><CFA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD><C3A3><EFBFBD>û<EFBFBD><C3BB><EFBFBD>κε<CEBA><CEB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD>ʺ<EFBFBD><CABA>ض<EFBFBD>Ŀ<EFBFBD><C4BF>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GNU ͨ<>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><D6A4>
<20><>Ӧ<EFBFBD><D3A6><EFBFBD>Ѿ<EFBFBD><D1BE>ͳ<EFBFBD>ʽһ<CABD><D2BB><EFBFBD>յ<EFBFBD>һ<EFBFBD><D2BB> GNU ͨ<>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD>ĸ<EFBFBD><C4B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>У<EFBFBD><D0A3><EFBFBD>
<20><><http://www.gnu.org/licenses/><3E><>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>reslog <20>Ǽ<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Apache <20><>¼<EFBFBD><C2BC><EFBFBD><EFBFBD> IP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD><C6A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Analog ֮<><D6AE><EFBFBD>ļ<EFBFBD>¼<EFBFBD><C2BC>ͳ<EFBFBD>Ƴ<EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD><D4B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Apache HostNameLookups
ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD>ÿ<EFBFBD><EFBFBD>һ<EFBFBD>η<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD> IP <20><>
<EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> perldoc reslog <20><><EFBFBD>Ķ<EFBFBD> reslog <20><>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>װָ<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> INSTALL.zh-tw <20><><EFBFBD><EFBFBD><EFBFBD>İ<EFBFBD>װָ<D7B0>ϡ<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Changes <20><><EFBFBD><EFBFBD><EFBFBD>ĸ<EFBFBD><C4B8><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˽<EFBFBD><CBBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܡ<EFBFBD><DCA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>µȡ<C2B5>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧Ԯ
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>reslog <20><><EFBFBD><EFBFBD>վ<EFBFBD><D5BE> http://reslog.sourceforge.net/ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD>˽<EFBFBD><CBBD><EFBFBD><EFBFBD><EFBFBD>ѶϢ<D1B6><CFA2>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>reslog <20><>һ<EFBFBD><D2BB><EFBFBD>ʼ<EFBFBD>ͨѶ reslog-users@lists.sourceforge.net <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κ<EFBFBD><CEBA><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ر<EFBFBD><EFBFBD><EFBFBD><EFBFBD>޲<EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD><EFBFBD>ʼ<EFBFBD>ͨѶ<EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
https://lists.sourceforge.net/lists/listinfo/reslog-users <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǵ<EFBFBD><C7B5>ʼ<EFBFBD>ͨѶ
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˽<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>񣬷<EFBFBD><EFBFBD><EFBFBD><EFBFBD>벻Ҫֱ<EFBFBD><EFBFBD>д<EFBFBD>Ÿ<EFBFBD><EFBFBD>ҡ<EFBFBD><EFBFBD>ʼ<EFBFBD>ͨѶ<EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>պ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨѶ<EFBFBD>ɵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD>𰸣<EFBFBD><EFBFBD><EFBFBD>ʡ<EFBFBD><EFBFBD><EFBFBD>ұ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD> GNU ͨ<>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤ (GPL) <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ο<EFBFBD> COPYING <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD>İ<EFBFBD>Ȩ<EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>è imacat ^_*'
2007-11-26
imacat@mail.imacat.idv.tw
http://www.imacat.idv.tw/

55
README.zh-tw Normal file
View File

@ -0,0 +1,55 @@
reslog - Apache <20>O<EFBFBD><4F><EFBFBD><EFBFBD> IP <20>Ϭd<CFAC>{<7B><>
<20><><EFBFBD>v<EFBFBD>Ҧ<EFBFBD> (c) 2000-2007 <20>̺<EFBFBD><CCBA><EFBFBD>
<20><><EFBFBD>{<7B><><EFBFBD>O<EFBFBD>ۥѳn<D1B3><6E><EFBFBD>A<EFBFBD>z<EFBFBD>i<EFBFBD>H<EFBFBD><48><EFBFBD>Ӧۥѳn<D1B3><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>| (Free Software Foundation)
<20>X<EFBFBD><58><EFBFBD><EFBFBD> GNU <20>q<EFBFBD>Τ<EFBFBD><CEA4>@<40>\<5C>i<EFBFBD>ұ<EFBFBD><D2B1><EFBFBD> (GNU General Public License) <20>ĤT<C4A4><54><EFBFBD>ӭ<EFBFBD>
<20><><EFBFBD>M<EFBFBD><4D><EFBFBD>s<EFBFBD>o<EFBFBD>G<EFBFBD>o<EFBFBD>@<40>{<7B><><EFBFBD>A<EFBFBD>Ϊ̦ۥѿ<DBA5><D1BF>ܨϥΥ<CFA5><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C
<20>o<EFBFBD>G<EFBFBD>o<EFBFBD>@<40>{<7B><><EFBFBD><EFBFBD><EFBFBD>ت<EFBFBD><D8AA>O<EFBFBD>Ʊ楦<C6B1><E6A5A6><EFBFBD>ΡA<CEA1><41><EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>C<EFBFBD>ƦܨS<DCA8><53><EFBFBD>A<EFBFBD>X<EFBFBD>S<EFBFBD>w<EFBFBD>ت<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>C<EFBFBD><43><EFBFBD>ԲӪ<D4B2><D3AA><EFBFBD><EFBFBD>p<EFBFBD>аѾ\ GNU <20>q<EFBFBD>Τ<EFBFBD><CEA4>@<40>\<5C>i<EFBFBD>ҡC
<20>z<EFBFBD><7A><EFBFBD>Ӥw<D3A4>g<EFBFBD>M<EFBFBD>{<7B><><EFBFBD>@<40>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD>@<40><> GNU <20>q<EFBFBD>Τ<EFBFBD><CEA4>@<40>\<5C>i<EFBFBD>Ҫ<EFBFBD><D2AA>ƥ<EFBFBD><C6A5>C<EFBFBD>p<EFBFBD>G<EFBFBD>٨S<D9A8><53><EFBFBD>A<EFBFBD><41>
<20>\<http://www.gnu.org/licenses/><3E>C
<EFBFBD>@<40>@reslog <20>O<EFBFBD>O<EFBFBD><4F><EFBFBD>ɤϬd<CFAC>{<7B><><EFBFBD>A<EFBFBD>ΨӤϬd Apache <20>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IP <20><><EFBFBD>D<EFBFBD><44><EFBFBD>W<EFBFBD>١C<D9A1>d<EFBFBD>L<EFBFBD><4C><EFBFBD>A
<EFBFBD>i<EFBFBD>H<EFBFBD>M<EFBFBD>ι<EFBFBD> Analog <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><4F><EFBFBD>ɲέp<CEAD>{<7B><><EFBFBD>C<EFBFBD>p<EFBFBD>i<EFBFBD>H<EFBFBD><EFBFBD><E2A5A6><EFBFBD><EFBFBD> Apache HostNameLookups
<EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>~<7E>A<EFBFBD>C<EFBFBD>Ѥ@<40><><EFBFBD>Ϭd<CFAC><64><EFBFBD>ѩҦ<D1A9><D2A6><EFBFBD> IP <20>C
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>@<40>@<40>п<EFBFBD><D0BF>J perldoc reslog <20>A<EFBFBD>\Ū reslog <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C
<EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>˫<EFBFBD><EFBFBD>n
<EFBFBD>@<40>@<40>иԾ\ INSTALL.zh-tw <20>ɮת<C9AE><D7AA>w<EFBFBD>˫<EFBFBD><CBAB>n<EFBFBD>C
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>B<EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>@<40>@<40>иԾ\ Changes <20>ɮת<C9AE><D7AA><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>H<EFBFBD>A<EFBFBD>ѷs<D1B7>W<EFBFBD>\<5C><><EFBFBD>B<EFBFBD><42><EFBFBD>D<EFBFBD>ץ<EFBFBD><D7A5>B<EFBFBD><42><EFBFBD>s<EFBFBD><73><EFBFBD>C
<EFBFBD><EFBFBD><EFBFBD>޳N<EFBFBD>
<EFBFBD>@<40>@reslog <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>b http://reslog.sourceforge.net/ <20>A<EFBFBD><41><EFBFBD>H<EFBFBD>ɤW<C9A4><57><EFBFBD>A<EFBFBD>ѳ̷s<CCB7>T<EFBFBD><54><EFBFBD>C
<EFBFBD>@<40>@reslog <20><><EFBFBD>@<40>Ӷl<D3B6><6C><EFBFBD>q<EFBFBD>T reslog-users@lists.sourceforge.net <20>A<EFBFBD>Y<EFBFBD><59><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>B
<EFBFBD><EFBFBD>ij<EFBFBD>B<EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>^<5E><><EFBFBD>B<EFBFBD>׸ɵ{<7B><><EFBFBD>A<EFBFBD>бH<D0B1><48><EFBFBD>l<EFBFBD><6C><EFBFBD>q<EFBFBD>T<EFBFBD>W<EFBFBD>C<EFBFBD>гs<D0B3>W
https://lists.sourceforge.net/lists/listinfo/reslog-users <20>[<5B>J<EFBFBD>ڭ̪<DAAD><CCAA>l<EFBFBD><6C><EFBFBD>q<EFBFBD>T
<EFBFBD>C<EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>O<EFBFBD>p<EFBFBD>H<EFBFBD>ưȡA<EFBFBD>_<EFBFBD>h<EFBFBD>Ф<EFBFBD><EFBFBD>n<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>H<EFBFBD><EFBFBD><EFBFBD>ڡC<EFBFBD>l<EFBFBD><EFBFBD><EFBFBD>q<EFBFBD>T<EFBFBD>|<7C>۰<EFBFBD><DBB0>k<EFBFBD>ɡA<C9A1><41><EFBFBD><EFBFBD><EFBFBD>Y<EFBFBD><59><EFBFBD>L<EFBFBD>H<EFBFBD><48>
<EFBFBD>ۦP<EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>A<EFBFBD>i<EFBFBD>H<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>q<EFBFBD>T<EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>סA<EFBFBD>`<60>٤j<D9A4>a<EFBFBD>_<EFBFBD>Q<EFBFBD><51><EFBFBD>ɶ<EFBFBD><C9B6>C
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>n<EFBFBD><EFBFBD>
<EFBFBD>@<40>@<40><><EFBFBD>{<7B><><EFBFBD><EFBFBD> GNU <20>q<EFBFBD>Τ<EFBFBD><CEA4>@<40>\<5C>i<EFBFBD><69> (GPL) <20><><EFBFBD>v<EFBFBD>o<EFBFBD>G<EFBFBD>A<EFBFBD>аѦ<D0B0> COPYING <20>ɮת<C9AE><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>A
<EFBFBD>ѥ<EFBFBD><EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>e<EFBFBD>C
<EFBFBD>̺<EFBFBD><EFBFBD><EFBFBD> imacat ^_*'
2007-11-26
imacat@mail.imacat.idv.tw
http://www.imacat.idv.tw/

60
SIGNATURE Normal file
View File

@ -0,0 +1,60 @@
This file contains message digests of all files listed in MANIFEST,
signed via the Module::Signature module, version 0.55.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
% cpansign -v
It will check each file's integrity, as well as the signature's
validity. If "==> Signature verified OK! <==" is not displayed,
the distribution may already have been compromised, and you should
not run its Makefile.PL or Build.PL.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
SHA1 91ced1a733e7448edc19eab22482508d58d7b284 AUTHORS
SHA1 c4c98cc9e7ac5e119752587d0322280a7a71d205 AUTHORS.zh-cn
SHA1 eb60ee204fcf7244fc0774ac34d05a35a281e82b AUTHORS.zh-tw
SHA1 f53e1e68c754efbcfc53ea967696a8671984447a Build.PL
SHA1 8624bcdae55baeef00cd11d5dfcfa60f68710a02 COPYING
SHA1 42632c78bf9e9342ae14210ca950ff00062ddd2b Changes
SHA1 f7bc1bef076475c9431f0c63624e2ab3033b8764 INSTALL
SHA1 79721949017a665473a2e153fd8d87c80825fd2b INSTALL.zh-cn
SHA1 b1d57a65f4615ec3d5ab0b835378bae1e024ba40 INSTALL.zh-tw
SHA1 a18724385a8fb946bda27e9931237d8c2a6933df MANIFEST
SHA1 dd16bfeaae712a00a4de3e68c5f481202cb26125 META.yml
SHA1 68ff538f6e43ffec964106a6036bcd430e26620d Makefile.PL
SHA1 480f86cf076a309356773b88f9ba438383084cd1 NEWS
SHA1 843feea16b78f493dc75fe0522d32da01a47d689 README
SHA1 0baa56bf2c4996141c65f3e22bd85f71b8ef66e8 README.zh-cn
SHA1 13a621e560350253ae43d4a1a68c61a204aa3e16 README.zh-tw
SHA1 52bb31d47dbadf06f520770a7a15852240620d05 THANKS
SHA1 e5df3a0192f9349821008f003ba10e5bddc4d13a THANKS.zh-cn
SHA1 e0addd6f8f0c3414094df574853af6dac53ecf7d THANKS.zh-tw
SHA1 48f5fff8ffb487089aa9fdcb9279ba3fd1c508c0 TODO
SHA1 00e67ef5268c66e8648c5f14da8e7912e2c2f9c5 TODO.zh-cn
SHA1 2e45a15082ae9630230235d7538dec63c6df18c8 TODO.zh-tw
SHA1 b76525cba62910e04d30162efa5dc2d01aba0c97 UPGRADE
SHA1 4a73e7d68ebc13536e5eac889dc345da210dd871 UPGRADE.zh-cn
SHA1 01f4180ffa5285ed96e7aa882bf205573c35146b UPGRADE.zh-tw
SHA1 bd75d59f9d7d9731bfabdc48ecd19e704d218e38 fdl.txt
SHA1 520fdcf4374af210380db9e0fdaea44c904a15fc pgpkey.asc
SHA1 700b11dfc01b4c76f05d391e3c125278f644c56b reslog
SHA1 41a536e18f36778b9ff933825ef0a1f7a1981b21 reslog.en.html
SHA1 6145e6f46918eee110b4d03fe9b9ea3dd6fc3314 reslog.zh-cn.html
SHA1 9b211e9952a151906a00600c85ff0c3378926a61 reslog.zh-tw.html
SHA1 525f414c7a0aadc61240a4b0959ca2cda7514c75 t/00-signature.t
SHA1 4c364eda95b34511f7b44d80cb933d151b6d2319 t/01-exhaust.t
SHA1 59d3566284c629bed1e217665b689dd8d2fb0e9e t/02-several.t
SHA1 575fbed4b769731be070e4b7b78ed89de98d6054 t/03-errors.t
SHA1 b85626024d610808bd0909989dcfb9fb20a40485 t/99-pod.t
SHA1 84b9f1582dbce493e1fd5ac9b8580786e0dfc152 t/_helper.pm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHVgHGi9gubzC5S1wRAjzCAJ9FOyU/0SG08ixiWMpPIaO5Nhm63QCgnUON
sKqVvHQZhcBU4PNl7DkpsQE=
=Zbq7
-----END PGP SIGNATURE-----

6
THANKS Normal file
View File

@ -0,0 +1,6 @@
Thanks to SourceForge to kindly provide hosting the reslog project.
Thanks to Chen-hsiu Huang <chenhsiu@gens.dhs.org> for reporting
the bug that $WORKING_RES was not locked when opened.
Thanks to CPAN to kindly provide hosting the reslog project.
Thanks to SourceForge for providing compiling farm for projects
to test on different platforms.

5
THANKS.zh-cn Normal file
View File

@ -0,0 +1,5 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л SourceForge <20><EFBFBD><E1B9A9><EFBFBD><EFBFBD> reslog ר<><D7A8><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л Chen-hsiu Huang <chenhsiu@gens.dhs.org> <20>ر<EFBFBD> $WORKING_RES <20><>
<EFBFBD><EFBFBD>ʱδ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л CPAN <20><EFBFBD><E1B9A9><EFBFBD><EFBFBD> reslog ר<><D7A8><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л SourceForge <20>ṩ compile farm <20><><EFBFBD><EFBFBD>ƽ̨<C6BD><CCA8>ר<EFBFBD><D7A8><EFBFBD><EFBFBD><EFBFBD>ԡ<EFBFBD>

5
THANKS.zh-tw Normal file
View File

@ -0,0 +1,5 @@
<EFBFBD>@<40>@<40>P<EFBFBD><50> SourceForge <20><><EFBFBD>Ѭ[<5B>] reslog <20>M<EFBFBD>סC
<EFBFBD>@<40>@<40>P<EFBFBD><50> Chen-hsiu Huang <chenhsiu@gens.dhs.org> <20>^<5E><> $WORKING_RES <20>}
<EFBFBD>ɮɥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɪ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>~<7E>C
<EFBFBD>@<40>@<40>P<EFBFBD><50> CPAN <20><><EFBFBD>Ѭ[<5B>] reslog <20>M<EFBFBD>סC
<EFBFBD>@<40>@<40>P<EFBFBD><50> SourceForge <20><><EFBFBD><EFBFBD> compile farm <20>U<EFBFBD>إ<EFBFBD><D8A5>x<EFBFBD>ѱM<D1B1>״<EFBFBD><D7B4>աC

2
TODO Normal file
View File

@ -0,0 +1,2 @@
1. Multi-lingual support, with Traditional and Simplified Chinese
messages.

1
TODO.zh-cn Normal file
View File

@ -0,0 +1 @@
1. <20><><EFBFBD><EFBFBD><EFBBAF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѶϢ<D1B6><CFA2>

1
TODO.zh-tw Normal file
View File

@ -0,0 +1 @@
1. <20>h<EFBFBD>y<EFBFBD>ơA<C6A1>[<5B>W<EFBFBD><57>²<EFBFBD><C2B2><EFBFBD><EFBFBD><EFBFBD>T<EFBFBD><54><EFBFBD>C

74
UPGRADE Normal file
View File

@ -0,0 +1,74 @@
Upgrade Instruction
Here are a few hints for people upgrading from 3.10 or earlier:
* The Default Installation Location Is at /usr/bin
Also, the man page is at /usr/share/man/man1/reslog.1. This is to follow
Perl's standard convension, and to avoid breaking ExtUtils::MakeMaker with
future versions.
When you run "perl Makefile.PL" or "perl Build.PL", it will hint a list of
old files found to be removed. Please delete them manually.
If you saved them in other places, you have to delete them yourself.
Also, if you have any scripts or cron jobs that are running reslog, remember
to modify your script for the new reslog location. Of course, you can copy
reslog to the original location. It will still work.
Here are a few hints for people upgrading from 3.02 or earlier:
* The Script Name is Changed from reslog.pl to reslog
This is obvious. If you have any scripts or cron jobs that are running
reslog, remember to modify your script for the new name. Of course, you can
rename reslog to reslog.pl. It will still work.
The reason I changed the script and project name is that: A dot "." in
the project name is not valid everywhere. At least SourceForge don't accept
it. Besides, "reslog" is enough for a script name under UNIX. The ".pl" file
name suffix/extension may be convienent for MS-Windows, but MS-Windows users
won't run it with explorer file name association anyway, and there is a pl2bat
to convert "reslog" to "reslog.bat", which would make more sense. The only
disadvantage is that I use UltraEdit, which depends on the file name extension
for the automatic syntax highlighting rules. But this is not much trouble. I
can manuall set it anyway.
* You Need Perl 5.8.0 or Above
reslog now has threading to speed up resolving, which requires Perl's
ithreads threading module support that's only available since 5.8.0. You can
still disable threading if it causes troubles to you, but the code itself need
it. If you are using a Perl before 5.8.0, please upgrade it. You can run
"perl -v" to see your current Perl version.
* The Default Keep Mode is Now "delete"
The documentation said the default keep mode is "delete", but the script
actually did a "restart". :p This is fixed. If you are running with the
default keep mode, remember to fix it.
* The Argument of --keep and --override Options Are Required Now
Support for omitting --keep or --override argument is removed. This helps
avoiding confusion for the log file name and the option arguments.
* Specifying STDIN Will No Longer Trigger STDOUT
When resolving multiple files, STDIN can output to STDOUT now, with other
files output to where they should be. Specifying an STDIN will no longer
automatically trigger outputing everything to STDOUT. If you want to output
everything to STDOUT, be sure to add the --stdout option.
imacat
2007-11-26
imacat@mail.imacat.idv.tw
http://www.imacat.idv.tw/

64
UPGRADE.zh-cn Normal file
View File

@ -0,0 +1,64 @@
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3.10 <20><>֮ǰ<D6AE>İ汾<C4B0><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD><C4B6><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>Ԥ<EFBFBD>谲װĿ¼Ϊ /usr/bin
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> /usr/share/man/man1/reslog.1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD> Perl <20>ı<EFBFBD>׼<EFBFBD><D7BC>װ<EFBFBD><D7B0><EFBFBD>̣<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƻ<EFBFBD> ExtUtils::MakeMaker <20><>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>պ<EFBFBD><D5BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD> perl Makefile.PL <20><> perl Build.PL ʱ<><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<CFB5>Ϸ<EFBFBD><CFB7>ֵĵľɵ<C4BE>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ط<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǵ<EFBFBD>Ҫ<EFBFBD>Լ<EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>趨 cron <20>ų<EFBFBD><C5B3><EFBFBD>ִ<EFBFBD><D6B4> reslog <20><><EFBFBD><EFBFBD><EFBFBD>ǵø<C7B5><C3B8>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD> reslog <20>浽ԭ<E6B5BD><D4AD><EFBFBD><EFBFBD>Ŀ¼ȥ<C2BC><C8A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κ<EFBFBD><CEBA><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3.02 <20><>֮ǰ<D6AE>İ汾<C4B0><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD><C4B6><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> reslog.pl <20><>Ϊ reslog
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>԰ɡ<EFBFBD> :p <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD>趨 cron <20>ų<EFBFBD><C5B3><EFBFBD>ִ<EFBFBD><D6B4> reslog <20><><EFBFBD><EFBFBD><EFBFBD>ǵø<C7B5><C3B8>ĵ<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD> reslog <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD> reslog.pl <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κ<EFBFBD><CEBA><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD>ר<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƺ<EFBFBD><EFBFBD><EFBFBD>.<2E><><EFBFBD><EFBFBD><E1B4A6><EFBFBD><EFBFBD><EFBFBD>ڡ<EFBFBD> SourceForget <20>Ͳ<EFBFBD><CDB2><EFBFBD><EFBFBD>ܺ<EFBFBD><DCBA><EFBFBD>.<2E><><EFBFBD><EFBFBD>ר
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> reslog <20><> UNIX <20>¾Ϳ<C2BE><CDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD><CBA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> .pl <20><>Ȼ<EFBFBD><C8BB>
MS-Windows <20>·<EFBFBD><C2B7><EFBFBD><E3A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD> MS-Windows <20><>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD>ֱ<EFBFBD>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD>
pl2bat <20><><EFBFBD>԰<EFBFBD> reslog ת<><D7AA> reslog.bat <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȽϺ<C8BD><CFBA><EFBFBD><EFBFBD><EFBFBD>Ψһ<CEA8><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õı<C3B5>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> UltraEdit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFB7A8>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳûʲô<CAB2><C3B4><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD><CBA3>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD><EFBFBD>ʽ
<EFBFBD><EFBFBD><EFBFBD>Ծͺ<EFBFBD><EFBFBD>ˡ<EFBFBD>
<EFBFBD><EFBFBD> Perl 5.8.0 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>°<EFBFBD><EFBFBD><EFBFBD> reslog <20>ö<EFBFBD><C3B6>̼߳<DFB3><CCBC>ٷ<EFBFBD><D9B7>飬Ҫ<E9A3AC>õ<EFBFBD> Perl 5.8.0 ֮<><D6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ithread <20><><EFBFBD>߳<EFBFBD>
ģʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ö<EFBFBD><EFBFBD>̹߳<EFBFBD><EFBFBD>ܣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD><EFBFBD>ã<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>õ<EFBFBD> ithread <20><><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD><EFBFBD><EFBFBD> 5.8.0 <20><>ǰ<EFBFBD><C7B0> Perl <20><EFBFBD><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Perl <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> perl -v <20><>ѯ<EFBFBD><D1AF>Ŀ
ǰ<EFBFBD><EFBFBD> Perl <20><EFBFBD><E6B1BE>
<EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD> keep ԭ<><D4AD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<C4A3><CABD> delete
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD> keep ԭ<><D4AD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<C4A3><CABD> delete ɾ<><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>ʽ<EFBFBD><CABD>
<EFBFBD><EFBFBD><EFBFBD>ܵ<EFBFBD><EFBFBD><EFBFBD> restart <20><><EFBFBD>㡣 :p <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѿ<EFBFBD><D1BE>޺<EFBFBD><DEBA>ˡ<EFBFBD><CBA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><E8B1A3>ģʽִ<CABD>У<EFBFBD><D0A3><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD> --keep <20><> --override ѡ<><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>Ҫ<EFBFBD><D2AA>ģʽ<C4A3><CABD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> --keep <20><> --override ѡ<><EFBFBD><EEA3AC><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>Ҫ<EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EFBFBD>IJ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD> STDIN <20><><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD> STDOUT ģʽ
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>ζ<EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>ֻ<EFBFBD>б<EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD> STDIN <20>Ľ<EFBFBD><C4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰһ<EFBFBD>ζ<EFBFBD>ȡ<EFBFBD>൵ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD>DZ<EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>ȫ<EFBFBD><EFBFBD><EFBFBD>Ľ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
--stdout ѡ<>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>è
2007-11-26
imacat@mail.imacat.idv.tw
http://www.imacat.idv.tw/

64
UPGRADE.zh-tw Normal file
View File

@ -0,0 +1,64 @@
<EFBFBD>@<40>ū<EFBFBD><C5AB>n
<EFBFBD>@<40>@<40>Y<EFBFBD>p<EFBFBD><70> 3.10 <20>Τ<EFBFBD><CEA4>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>@<40>šA<C5A1>о<>H<EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>G
<EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>]<5D>w<EFBFBD>˥ؿ<CBA5><D8BF><EFBFBD> /usr/bin
<EFBFBD>@<40>@<40><><EFBFBD><EFBFBD><EFBFBD>ɫh<C9AB>b /usr/share/man/man1/reslog.1 <20>C<EFBFBD>o<EFBFBD>O<EFBFBD><4F><EFBFBD>ŦX Perl <20><><EFBFBD>зǦw<C7A6>ˬy<CBAC>{<7B>A
<EFBFBD>ͧK<EFBFBD>}<7D>a ExtUtils::MakeMaker <20><><EFBFBD>w<EFBFBD>]<5D>]<5D>w<EFBFBD>A<EFBFBD>y<EFBFBD><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>@<40>Ū<EFBFBD><C5AA><EFBFBD><EFBFBD>D<EFBFBD>C
<EFBFBD>@<40>@<40><><EFBFBD><EFBFBD> perl Makefile.PL <20><> perl Build.PL <20>ɡA<C9A1>|<7C><><EFBFBD>ܩp<DCA9>Ҧb<D2A6>t<EFBFBD>ΤW<CEA4>o<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>סC<EFBFBD>Цۦ<EFBFBD><EFBFBD>R<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>Y<EFBFBD>p<EFBFBD>{<7B><><EFBFBD>s<EFBFBD>b<EFBFBD><EFBFBD>a<EFBFBD><61><EFBFBD>A<EFBFBD>аO<D0B0>o<EFBFBD>n<EFBFBD>ۤv<DBA4>R<EFBFBD><52><EFBFBD>C
<EFBFBD>@<40>@<40>Y<EFBFBD>p<EFBFBD><70><EFBFBD>g<EFBFBD>{<7B><><EFBFBD>A<EFBFBD>γ]<5D>w cron <20>Ƶ{<7B>Ӱ<EFBFBD><D3B0><EFBFBD> reslog <20>A<EFBFBD>аO<D0B0>o<EFBFBD><6F><EFBFBD><EFBFBD><EFBFBD>ɦW<C9A6>C<EFBFBD><43><EFBFBD>L<EFBFBD>p<EFBFBD>]<5D>i<EFBFBD>H
<EFBFBD><EFBFBD> reslog <20>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>Ӫ<EFBFBD><D3AA>ؿ<EFBFBD><D8BF>h<EFBFBD>A<EFBFBD><41><EFBFBD>|<7C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>C
<EFBFBD>@<40>@<40>Y<EFBFBD>p<EFBFBD><70> 3.02 <20>Τ<EFBFBD><CEA4>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>@<40>šA<C5A1>о<>H<EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>G
<EFBFBD><EFBFBD><EFBFBD>ɦW<EFBFBD><EFBFBD> reslog.pl <20>אּ reslog
<EFBFBD>@<40>@<40>o<EFBFBD>ܩ<EFBFBD><DCA9><EFBFBD><EFBFBD>a<EFBFBD>C :p <20>Y<EFBFBD>p<EFBFBD><70><EFBFBD>g<EFBFBD>{<7B><><EFBFBD>A<EFBFBD>γ]<5D>w cron <20>Ƶ{<7B>Ӱ<EFBFBD><D3B0><EFBFBD> reslog <20>A<EFBFBD>аO<D0B0>o<EFBFBD><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>W<EFBFBD>C<EFBFBD><EFBFBD><EFBFBD>L<EFBFBD>p<EFBFBD>]<5D>i<EFBFBD>H<EFBFBD><48> reslog <20><><EFBFBD>W<EFBFBD>^<5E><><EFBFBD>Ӫ<EFBFBD> reslog.pl <20>A<EFBFBD><41><EFBFBD>|<7C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>C
<EFBFBD>@<40>@<40><><EFBFBD>W<EFBFBD><57><EFBFBD>]<5D>p<EFBFBD>U<EFBFBD>G<EFBFBD>M<EFBFBD>צW<D7A6>٧t<D9A7>u.<2E>v<EFBFBD>|<7C>B<EFBFBD>B<EFBFBD>I<EFBFBD><49><EFBFBD>C SourceForget <20>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>u.<2E>v<EFBFBD><76><EFBFBD>M
<EFBFBD>צW<EFBFBD>١C<EFBFBD><EFBFBD><EFBFBD>~<7E>A<EFBFBD>{<7B><><EFBFBD>W<EFBFBD><57> reslog <20>b UNIX <20>U<EFBFBD>N<EFBFBD>i<EFBFBD>H<EFBFBD>]<5D>F<EFBFBD>C<EFBFBD><43><EFBFBD>ɦW .pl <20><><EFBFBD>M<EFBFBD>b
MS-Windows <20>U<EFBFBD><55><EFBFBD>K<EFBFBD>A<EFBFBD><41><EFBFBD>ϥ<EFBFBD> MS-Windows <20>U<EFBFBD>]<5D><><EFBFBD>|<7C><><EFBFBD><EFBFBD><EFBFBD>I<EFBFBD><49><EFBFBD>U<EFBFBD>̰<EFBFBD><CCB0>ɦW<C9A6><57><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>ӥB<D3A5>٦<EFBFBD>
pl2bat <20>i<EFBFBD>H<EFBFBD><48> reslog <20>ন reslog.bat <20>A<EFBFBD>o<EFBFBD>ˤϦӤ<CFA6><D3A4><EFBFBD><EFBFBD>X<EFBFBD>z<EFBFBD>C<EFBFBD>ߤ@<40><><EFBFBD>K<EFBFBD><4B><EFBFBD>O<EFBFBD>ڥΪ<DAA5><CEAA>s
<EFBFBD>边 UltraEdit <20>̰<EFBFBD><CCB0>ɦW<C9A6>M<EFBFBD>w<EFBFBD>{<7B><><EFBFBD>y<EFBFBD><79><EFBFBD>y<EFBFBD>k<EFBFBD>ХܡA<DCA1><41><EFBFBD>L<EFBFBD>o<EFBFBD>]<5D>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD><6A><EFBFBD>F<EFBFBD>A<EFBFBD><41><EFBFBD>ʳ]<5D>{<7B><>
<EFBFBD>y<EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>n<EFBFBD>F<EFBFBD>C
<EFBFBD><EFBFBD> Perl 5.8.0 <20><><EFBFBD>H<EFBFBD>W
<EFBFBD>@<40>@<40>s<EFBFBD><73><EFBFBD><EFBFBD> reslog <20>Φh<CEA6>u<EFBFBD>{<7B>[<5B>t<EFBFBD>Ϭd<CFAC>A<EFBFBD>n<EFBFBD>Ψ<EFBFBD> Perl 5.8.0 <20><><EFBFBD><EFBFBD>s ithread <20>h<EFBFBD>u<EFBFBD>{
<EFBFBD>Ҧ<EFBFBD><EFBFBD>C<EFBFBD>p<EFBFBD>Y<EFBFBD><EFBFBD><EFBFBD>Q<EFBFBD>Φh<EFBFBD>u<EFBFBD>{<7B>\<5C><><EFBFBD>A<EFBFBD>i<EFBFBD>H<EFBFBD><48><EFBFBD>ΡA<CEA1><41><EFBFBD>L<EFBFBD>{<7B><><EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>٬O<D9AC>n<EFBFBD>Ψ<EFBFBD> ithread <20>C<EFBFBD>Y
<EFBFBD>p<EFBFBD>Ϊ<EFBFBD><EFBFBD>O 5.8.0 <20>H<EFBFBD>e<EFBFBD><65> Perl <20><><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>Ъ@<40>ũp<C5A9><70> Perl <20>C<EFBFBD>p<EFBFBD>i<EFBFBD>H<EFBFBD><48><EFBFBD>J perl -v <20>d<EFBFBD>ߩp<DFA9><70>
<EFBFBD>e<EFBFBD><EFBFBD> Perl <20><><EFBFBD><EFBFBD><EFBFBD>C
<EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>] keep <20><><EFBFBD>O<EFBFBD><4F><EFBFBD>ɫO<C9AB>d<EFBFBD>Ҧ<EFBFBD><D2A6>O delete
<EFBFBD>@<40>@<40>ڦb<DAA6><62><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>g<EFBFBD>A<EFBFBD>w<EFBFBD>] keep <20><><EFBFBD>O<EFBFBD><4F><EFBFBD>ɫO<C9AB>d<EFBFBD>Ҧ<EFBFBD><D2A6>O delete <20>R<EFBFBD><52><EFBFBD>A<EFBFBD>i<EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>{<7B><><EFBFBD>u
<EFBFBD><EFBFBD><EFBFBD>]<5D><><EFBFBD>O restart <20>k<EFBFBD>s<EFBFBD>C :p <20>o<EFBFBD>Ӱ<EFBFBD><D3B0>D<EFBFBD>w<EFBFBD>g<EFBFBD>צn<D7A6>F<EFBFBD>C<EFBFBD>p<EFBFBD>G<EFBFBD>p<EFBFBD>̹w<CCB9>]<5D>O<EFBFBD>d<EFBFBD>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>аO
<EFBFBD>o<EFBFBD>n<EFBFBD>ץ<EFBFBD><EFBFBD>C
<EFBFBD><EFBFBD> --keep <20>M --override <20><EFBFBD>{<7B>b<EFBFBD>@<40>w<EFBFBD>n<EFBFBD>[<5B>Ҧ<EFBFBD><D2A6>Ѽ<EFBFBD>
<EFBFBD>@<40>@<40>H<EFBFBD>e<EFBFBD>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD><EFBFBD><EFBFBD> --keep <20>M --override <20><EFBFBD>A<EFBFBD><41><EFBFBD>[<5B>ѼơA<C6A1>{<7B>b<EFBFBD>@<40>w<EFBFBD>n<EFBFBD>[<5B>ѼơA<C6A1>H<EFBFBD><48>
<EFBFBD>K<EFBFBD>V<EFBFBD>c<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѼƩM<EFBFBD>n<EFBFBD>B<EFBFBD>z<EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>ɦW<EFBFBD>C
<EFBFBD><EFBFBD>Ū<EFBFBD><EFBFBD><EFBFBD>зǿ<EFBFBD><EFBFBD>J STDIN <20><><EFBFBD>|<7C>۰ʱҰʼзǿ<D0B7><C7BF>X STDOUT <20>Ҧ<EFBFBD>
<EFBFBD>@<40>@<40>@<40><>Ū<EFBFBD><C5AA><EFBFBD>h<EFBFBD><68><EFBFBD>ɮ׮ɡA<C9A1>u<EFBFBD><75><EFBFBD>зǿ<D0B7><C7BF>J STDIN <20><><EFBFBD><EFBFBD><EFBFBD>G<EFBFBD>|<7C><><EFBFBD>X<EFBFBD><58><EFBFBD>зǿ<D0B7><C7BF>X<EFBFBD>A<EFBFBD><EFBFBD>ɮ׳<C9AE>
<EFBFBD>|<7C><><EFBFBD>X<EFBFBD><58><EFBFBD>U<EFBFBD>۸ӿ<DBB8><D3BF>X<EFBFBD><58><EFBFBD>ɮץh<D7A5>C<EFBFBD>H<EFBFBD>e<EFBFBD>@<40><>Ū<EFBFBD><C5AA><EFBFBD>h<EFBFBD>ɮɡA<C9A1>Ψ䤤<CEA8><E4A4A4><EFBFBD>@<40>ӬO<D3AC>зǿ<D0B7><C7BF>J<EFBFBD>A<EFBFBD>h<EFBFBD>|<7C><>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD><EFBFBD><EFBFBD>зǿ<EFBFBD><EFBFBD>X<EFBFBD>h<EFBFBD>A<EFBFBD>{<7B>b<EFBFBD><62><EFBFBD>|<7C>F<EFBFBD>C<EFBFBD>Y<EFBFBD>p<EFBFBD>ݭn<DDAD><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>G<EFBFBD><47><EFBFBD>X<EFBFBD><58><EFBFBD>зǿ<D0B7><C7BF>X<EFBFBD>A<EFBFBD>Х[<5B>W
--stdout <20><EFBFBD>C
<EFBFBD>̺<EFBFBD><EFBFBD><EFBFBD>
2007-11-26
imacat@mail.imacat.idv.tw
http://www.imacat.idv.tw/

397
fdl.txt Normal file
View File

@ -0,0 +1,397 @@
GNU Free Documentation License
Version 1.2, November 2002
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
0. PREAMBLE
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
1. APPLICABILITY AND DEFINITIONS
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
world-wide, royalty-free license, unlimited in duration, to use that
work under the conditions stated herein. The "Document", below,
refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
(or to related matters) and contains nothing that could fall directly
within that overall subject. (Thus, if the Document is in part a
textbook of mathematics, a Secondary Section may not explain any
mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file
format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
HTML, PostScript or PDF designed for human modification. Examples of
transparent image formats include PNG, XCF and JPG. Opaque formats
include proprietary formats that can be read and edited only by
proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
to the Document are reproduced in all copies, and that you add no other
conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
3. COPYING IN QUANTITY
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present
the full title with all words of the title equally prominent and
visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
a computer-network location from which the general network-using
public has access to download using public-standard network protocols
a complete Transparent copy of the Document, free of added material.
If you use the latter option, you must take reasonably prudent steps,
when you begin distribution of Opaque copies in quantity, to ensure
that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has fewer than five),
unless they release you from this requirement.
C. State on the Title page the name of the publisher of the
Modified Version, as the publisher.
D. Preserve all the copyright notices of the Document.
E. Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
F. Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.
H. Include an unaltered copy of this License.
I. Preserve the section Entitled "History", Preserve its Title, and add
to it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If
there is no section Entitled "History" in the Document, create one
stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions
it was based on. These may be placed in the "History" section.
You may omit a network location for a work that was published at
least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.
K. For any section Entitled "Acknowledgements" or "Dedications",
Preserve the Title of the section, and preserve in the section all
the substance and tone of each of the contributor acknowledgements
and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.
M. Delete any section Entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
Front-Cover Text and one of Back-Cover Text may be added by (or
through arrangements made by) any one entity. If the Document already
includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
5. COMBINING DOCUMENTS
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
different contents, make the title of each such section unique by
adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
7. AGGREGATION WITH INDEPENDENT WORKS
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
resulting from the compilation is not used to limit the legal rights
of the compilation's users beyond what the individual works permit.
When the Document is included in an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
aggregate.
8. TRANSLATION
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License, and all the license notices in the
Document, and any Warranty Disclaimers, provided that you also include
the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
automatically terminate your rights under this License. However,
parties who have received copies, or rights, from you under this
License will not have their licenses terminated so long as such
parties remain in full compliance.
10. FUTURE REVISIONS OF THIS LICENSE
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See
http://www.gnu.org/copyleft/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
following the terms and conditions either of that specified version or
of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.

40
pgpkey.asc Normal file
View File

@ -0,0 +1,40 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.1 (GNU/Linux)
mQGiBD0kfGQRBADaGggoSHTZ8P17j92IMMxWPpML0TdvbhzW5iFF7a5th0xCn9od
pHVwc2YxuEulwDz0LJUx2IwwbttftHcJafcH51vk57Qq2+hvNAE1o9a/MWReMIwv
KfBi3Q1bVxWIjVPDbHd+ZUbbo0pozbfrHEaRPQ0qR+/ZgK5+V6WJiLElrwCgsCQy
FGfo72h5p46w7MrW4qSmalkD/RMcVmPkszF5J0N9pWlgcJ/fTYlMKIit3V/W/fru
L4KkUT3d9CMcJSBZrcVlXlDbPeBF8L7vl46NImd4xfnRKLwOuAy67Tld6CbC+UWz
rv6472rGetTTaj7iBH5nR62BQUmaLK6W6Q8vFOrqIBqXEz5iJ+RLYpIxH5M8gOz5
7b7GBACIZaPaMVzIbTqnysDCgKEQqOyFbpgcGfSH52xH3XXeNrJhuenJFvBbeV8J
RgmKSnn1ZixFHJ261uGu5kOA1CQemNrTgZRaeHDu6mdZALdbxpLXp9DeOC/oTUWa
1O2xmAWcZZo+63s0MciC9zDrRjlNuGcVOiHZZLh9P9vEfoJos7Qu5L6d55Gq6LKT
IChpbWFjYXQpIDxpbWFjYXRAbWFpbC5pbWFjYXQuaWR2LnR3PoheBBMRAgAeBQJC
iLwmAhsDBgsJCAcDAgMVAgMDFgIBAh4BAheAAAoJEIvYLm8wuUtcmnYAnRQCNXWc
vgtk4CiTTBWqGWWZRjViAKCn/F6maM9R5RzuC1L5ER27f0AjbrkEDQQ9JHzZEBAA
owxPPj1TOZKGuav0eKopd8RrwFQ51P0FY85WyTAsCWg/KGcJIXFKwJ/r4U381iQd
z+16+E6oOzTIs/iwnkSKmfWx2M46uXdIa/VkLChZzHpCVDHeVICGE5sbECNS2gYD
CRx/Jl/FnXNaeaI0RZm3i4gf204bvqsPm+epI/BOW4cZmbkqSd4BuG2/i7y/BZzP
NhVseNVe2qhWFxs4Hj5S6y6xYSuuPLC4mZrkA7x1J9tq+wUt6z0mwIdRhEaK5iE5
PB44XiwGKW02sLt5CQXDW/DbqXlyu6VP90iVjWLg0ftI28dULipw2n6u0DIGIxfL
i4dDf0gcYyqDF++aMWYTlB7a89Vt055dp7NC59VaqltW9DgKnxkiTUMxZ3HtqA67
rwKtwKY3CQyuIYil31AQy0izi4fIu6MRznLtwHAfaqsB0Nej+kFl1XSUspe3P6ea
YzMs7on0X0KvPDWPo7AMz0Y/ex/XzYwR2+IzijTnaakH5TS7da0LKXb3FTV/PuIR
UgH3P/yOwRyOU4VLWqcyLxBJuMlX1WVz3UdNfHwRfm+jqPktP0qnQ9ZrFk3VEOGv
0hMvCeqj3Vw5CziYCTm3YiDG4OLPpUN3ByF944cUCYKwoGYEUKUf0vXPvUYdshqB
D49RyI0oy2nZstSt+iVefuCyWBYEyqIDu0eRGWY8FRMAAwUQAI/jMOnq6mP7mfbs
qq1ugXtx0r7cKNge0ebB/TA37ZLCo2UTdoxk/AsuGx1MK6kKJh3Zkxz89jb84CXA
jZbYbLOGhFioHCyiqfJwFbR7Abhsoo1NuEAtibJpFUm0oHym/Tjc4Xwht7cf52+8
USfC918mFzmbPDOuIpkcHjGzXFztgDiMlX7iDrMvX2QOLzhp+g/I/pyAhAcKH8Eo
vcKeYOoQIM7hpP0eTZxgCDdRw9SpodU0/rTL6UzA4iXMcqncspH0OjfT5gxj3cOo
ofhaPxsIoqllZA/V/x7CeykdNE5L5SYv3c0NBnTMe9kV4K8V0JHTyz7N3ipiWJHP
VObvgdrJyA9YYCpgorfE7a1rtmLPfr5evrTuKP+VMEInqvA0mAxzX/HsbtsA+bNn
g6c5WibjO/kDKgfZfHFrPlLPiSSBVn9ygEySdlBuXpb5c7wft/YV0FyVAikbhY3l
3jJYmQ7kBxrtoIH9jK6Ff8rw7qbyBg6fDPoC3gevNdmoVtk5vTcKQTxPKlCeXTtE
JYfKDvX0BDkV8Wdizit03Sp0StpeietlX5vYQDyefp+w5J3k2SrbkEczzGZzXHq/
5pm36cC0N0rA8ZW7JOpkThjZIJ733Y5DwtzhWqdUubWiCMmC7HfGmpI0OdV6QF8p
kCKXIsJ90Uiep0lEDNQZg4Y96kuUiEYEGBECAAYFAj0kfNoACgkQi9gubzC5S1xO
uACdELzJCBgMJVZ9siHwn48X2rXdQnIAn0yagIZfaIS0CfCamwcYeMfKcQQV
=GeL3
-----END PGP PUBLIC KEY BLOCK-----

2452
reslog Executable file

File diff suppressed because it is too large Load Diff

515
reslog.en.html Normal file
View File

@ -0,0 +1,515 @@
<?xml version="1.0" encoding="US-ASCII" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=US-ASCII" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="author" content="imacat" />
<meta name="copyright" content="&copy; 2001-2008 imacat." />
<meta name="keywords" content="DNS look up, HostNameLookups, Apache, Analog, log files" />
<link rel="alternate" type="application/xhtml+xml" href="reslog.zh-tw.html"
hreflang="zh-tw" title="&#27491;&#39636;&#20013;&#25991;" />
<link rel="alternate" type="application/xhtml+xml" href="reslog.zh-cn.html"
hreflang="zh-cn" title="&#31616;&#20307;&#20013;&#25991;" />
<link rel="copyright" type="text/plain" href="fdl.txt" />
<link rel="author" href="mailto:imacat&#64;mail.imacat.idv.tw" />
<style type="text/css">
h2, em {
text-transform: uppercase;
}
.accessguide {
font-size: 0.5em;
float: left;
width: 0.5em;
}
</style>
<title>reslog Version 3.16</title>
</head>
<body>
<div class="langs" title="Language Switching Area">
<span xml:lang="zh-tw"><a href="reslog.zh-tw.html"
title="&#20999;&#25563;&#21040;&#26412;&#38913;&#30340;&#27491;&#39636;&#20013;&#25991;&#29256;&#12290;"
hreflang="zh-tw">&#27491;&#39636;&#20013;&#25991;</a></span> |
<span xml:lang="zh-cn"><a href="reslog.zh-cn.html"
title="&#20999;&#25442;&#21040;&#26412;&#39029;&#30340;&#31616;&#20307;&#20013;&#25991;&#29256;&#12290;"
hreflang="zh-cn">&#31616;&#20307;&#20013;&#25991;</a></span> |
<span>English</span>
</div>
<hr />
<div id="body" class="body" title="Page Content Area">
<div class="accessguide"><a accesskey="C"
href="#body" title="Page Content Area">:::</a></div>
<h1><samp>reslog</samp> Version 3.16</h1>
<h2>What&rsquo;s New?</h2>
<dl>
<dt>2007-12-04</dt>
<dd>
<p><samp>reslog</samp> version 3.16 is released. This release fixed a bug with empty files created with <a href="http://search.cpan.org/dist/Compress-Bzip2/"><samp>Compress::Bzip2</samp></a>. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.16.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.16</a>.</p>
</dd>
<dt>2007-12-03</dt>
<dd>
<p><samp>reslog</samp> version 3.15 is released. Fixed the minimal required <acronym title="Practical Extraction and Reporting Language">Perl</acronym> version in the <samp>Makefile.PL</samp> installation. Upgrade is not necessary if you have installed <samp>reslog</samp> version 3.13 or later. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.15.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.15</a>.</p>
</dd>
<dt>2007-12-03</dt>
<dd>
<p><samp>reslog</samp> version 3.14 is released. There are several documentation and test suite fixes. Upgrade is not necessary if you have installed <samp>reslog</samp> version 3.13. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.14.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.14</a>.</p>
</dd>
<dt>2007-12-03</dt>
<dd>
<p><samp>reslog</samp> version 3.13 is released. There are many code enhancements, bug fixes, test suite enhancements and documentation fixes. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.13.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.13</a>.</p>
</dd>
<dt>2007-07-23</dt>
<dd>
<p><samp>reslog</samp> version 3.12 is released. Fixed the error when there is no <abbr title="internet protocol">IP</abbr> to be resolved. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.12.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.12</a>.</p>
</dd>
<dt>2007-07-23</dt>
<dd>
<p><samp>reslog</samp> version 3.11 is released. Fixed the problem with non-threaded <acronym title="Practical Extraction and Reporting Language">Perl</acronym>. Fixed the bug checking <samp>STDIN</samp> file type with the <samp>file</samp> program. Moved files back to the <acronym title="Practical Extraction and Reporting Language">Perl</acronym> default installation directories. Added support for installation with <a href="http://search.cpan.org/dist/Module-Build/"><samp>Module::Build</samp></a>. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.11.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.11</a>.</p>
</dd>
<dt>2007-07-22</dt>
<dd>
<p><samp>reslog</samp> version 3.10 is released. Documentation fixes. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.10.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.10</a>.</p>
</dd>
<dt>2007-07-21</dt>
<dd>
<p><samp>reslog</samp> version 3.09 is released. License updated to <a href="http://www.gnu.org/licenses/gpl-3.0.html"><abbr title="GNU General Public License version 3">GPLv3</abbr></a>, and various fixes. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.09.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.09</a>.</p>
</dd>
<dt>2005-05-22</dt>
<dd>
<p><samp>reslog</samp> version 3.08 is released. Documentation fixes. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.08.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.08</a>.</p>
</dd>
<dt>2005-05-22</dt>
<dd>
<p><samp>reslog</samp> version 3.07 is released. Clean up the code so that it works on more platforms. Now it works on <a href="http://www.linux.org/">Linux</a>, <abbr title="Microsoft">MS</abbr>-Windows, <a href="http://www.cygwin.com/">Cygwin</a>, <a href="http://www.sun.com/software/solaris/">Solaris</a>, <a href="http://www.freebsd.org/">FreeBSD</a> and <a href="http://developer.apple.com/opensource/" hreflang="en" xml:lang="en">MacOSX Darwin</a>. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.07.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.07</a>.</p>
</dd>
<dt>2005-05-16</dt>
<dd>
<p><samp>reslog</samp> version 3.06 is released. Rewrite the test suite so that the result is more correct, accuate and meaningful. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.06.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.06</a>.</p>
</dd>
<dt>2005-05-08</dt>
<dd>
<p><samp>reslog</samp> version 3.05 is released. Fixed a bug that unavailable <samp>STDIN</samp> may cause error. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.05.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.05</a>.</p>
</dd>
<dt>2005-05-08</dt>
<dd>
<p><samp>reslog</samp> version 3.04 is released. Fixed a typo when loading <a href="http://search.cpan.org/dist/File-MMagic/"><samp>File::MMagic</samp></a>. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.04.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.04</a>.</p>
</dd>
<dt>2005-05-08</dt>
<dd>
<p><samp>reslog</samp> version 3.03 is released. Default installation directory moved back to <samp>/sbin</samp>. <q><samp>make upgrade</samp></q> is added to remove files from the old versions. <samp>flock()</samp> policy is redesigned for consistency and less errors. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.03.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.03</a>.</p>
</dd>
<dt>2005-05-02</dt>
<dd>
<p><samp>reslog</samp> version 3.02 is released. Resolver is now independent from the main program. Successfully tested and run on <abbr title="Microsoft">MS</abbr>-Windows and <a href="http://www.cygwin.com/">Cygwin</a>. Several small bugs are solved. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.02.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.02</a>.</p>
</dd>
<dt>2005-04-26</dt>
<dd>
<p><samp>reslog</samp> version 3.01 is released. A serious bug that <samp>--suffix</samp> and <samp>--trim-suffix</samp> was obtaining wrong value is fixed. You should upgrade to version 3.01 immediately if you were using 3.00. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.01.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.01</a>.</p>
</dd>
<dt>2005-04-26</dt>
<dd>
<p><samp>reslog</samp> version 3.00 is released. I rewrote everything. The code is now object-oriented. ithreads Threading support is added so that it is really fast now. bzip2 compression is supported. Compressing and decompressing using <samp>gzip</samp> and <samp>bzip2</samp> executables without installing <a href="http://search.cpan.org/dist/Compress-Zlib/" hreflang="en" xml:lang="en"><samp>Compress::Zlib</samp></a> and <a href="http://search.cpan.org/dist/Compress-Bzip2/"><samp>Compress::Bzip2</samp></a> is now possible, although discouraged. Certain file name suffix can be removed before outputing the result file, so that it can be line-up with other log file filters. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.00.tar.gz" type="application/x-gzip">Download <samp>reslog</samp> version 3.00</a>.</p>
</dd>
<dt>2002-09-18</dt>
<dd>
<p><samp>reslog.pl</samp> version 2.1.0dev2 is released. This release corrects several documentation errors. It also adds <a href="http://sourceforge.net/">SourceForge</a> in the documentations as one of the sources of <samp>reslog.pl</samp>. You can think of it as a <q>Source Forge Memorial Release</q>. :p You don&rsquo;t have to upgrade to this version in a rush. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog.pl-2.1.0dev2.tar.gz" type="application/x-gzip">Download <samp>reslog.pl</samp> version 2.1.0dev2</a>.</p>
</dd>
<dt>2002-09-17</dt>
<dd>
<p><samp>reslog.pl</samp> is hosted at <a href="http://sourceforge.net/projects/reslog/">SourceForge</a> now! Congratulations! (Although I&rsquo;m still trying hard to get it working at this time&hellip; ^^; )</p>
</dd>
<dt>2002-08-31</dt>
<dd>
<p><samp>reslog.pl</samp> version 2.1.0dev1 is released. This release fixes the problem that it wouldn&rsquo;t run with <acronym title="Practical Extraction and Reporting Language">Perl</acronym> 5.8.0. I marked it as <q><abbr title="development">dev</abbr></q> because I wish I can implement <a href="http://search.cpan.org/dist/Compress-Bzip2/"><samp>Compress::Bzip2</samp></a> and <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/"><samp>ExtUtils::MakeMaker</samp></a> in the 2.1.0 stable release. But it is is in fact very stable. <a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog.pl-2.1.0dev1.tar.gz" type="application/x-gzip">Download <samp>reslog.pl</samp> version 2.1.0dev1</a>.</p>
</dd>
</dl>
<h2>Description</h2>
<p><dfn><samp>reslog</samp></dfn> reverse-resolves <abbr title="internet protocol">IP</abbr> in the <a href="http://httpd.apache.org/">Apache</a> log files. These log files can then be analyzed by another program, like <a href="http://analog.cx/">Analog</a>. You can think of it as a replacement of Apache <samp>HostNameLookups</samp> directive, in the sense that it resolves the client <abbr title="internet protocol">IP</abbr> altogether once a day.</p>
<h2>Caution</h2>
<ul>
<li><p><em>Resolving takes long time</em>. This is mainly caused by resolving: Network packets may be filtered by firewalls; <abbr title="Domain Name Service">DNS</abbr> servers may not be correctly configured; may not be up working; may sit in slow network sections; may be old slow machines; may have traffic jam&hellip; <abbr title="et cetera">etc</abbr>. All these reasons are out of our control.</p></li>
<li><p>If it stops in the middle of its execution, as when the user hits a <samp>Ctrl-Break</samp>, it may leave a temporary working file. The next time it runs, it will stop when it sees that temporary working file at the first sight. Please process that file first. You can resolve it again, just like an ordinary log file.</p></li>
<li><p>This prorgam needs temporary working space. Between memory and disk space, I choose disk space, since it is cheaper and may be available in more environments. However, this means that it needs free temporary disk space about 2 times of the size of the uncompressed source log log file (10 times if using memory). Please make sure you have that much free space.</p></li>
<li><p><samp>reslog</samp> does not support <abbr title="internet protocol version 6">IPv6</abbr> yet.</p></li>
<li><p>I suggest you to install <a href="http://search.cpan.org/dist/File-MMagic/"><samp>File::MMagic</samp></a> instead of counting on the <samp>file</samp> executable. The internal magic file of <a href="http://search.cpan.org/dist/File-MMagic/"><samp>File::MMagic</samp></a> seems to work better than the <samp>file</samp> executable. <samp>reslog</samp> treats everything not <samp>gzip</samp> nor <samp>bzip2</samp> compressed as plain text. When a compressed log file is wrongly recognized as an image, <samp>reslog</samp> will treat it as plain text, read log records directly from it and fail. This failure does not hurt the source log files, but is still annoying.</p></li>
</ul>
<h2>System Requirement</h2>
<ol>
<li><p><acronym title="Practical Extraction and Reporting Language">Perl</acronym>, version 5.8.0 or above. <samp>reslog</samp> uses 3-argument <samp>open()</samp> to duplicate filehandles, which is only supported since 5.8.0. I have not successfully port this onto earlier versions yet. Please tell me if you made it. You can run <q><samp>perl -v</samp></q> to see your current <acronym title="Practical Extraction and Reporting Language">Perl</acronym> version. If you do not have <acronym title="Practical Extraction and Reporting Language">Perl</acronym>, or if you have an older version of <acronym title="Practical Extraction and Reporting Language">Perl</acronym>, you can download and install/upgrade it from <a href="http://www.perl.com/">Perl website</a>. If you are using <abbr title="Microsoft">MS</abbr>-Windows, you can download and install <a href="http://www.activestate.com/">ActiveState ActivePerl</a>.</p></li>
<li><p>Required <acronym title="Practical Extraction and Reporting Language">Perl</acronym> modules: None.</p></li>
<li><p>Optional <acronym title="Practical Extraction and Reporting Language">Perl</acronym> modules:</p>
<dl>
<dt><a href="http://search.cpan.org/dist/File-MMagic/"><samp>File::MMagic</samp></a></dt>
<dd>
<p>This is used to check the file type. If this is not available, <samp>reslog</samp> will look for the <samp>file</samp> executable instead. If that is not available, too, <samp>reslog</samp> will judge the file type by its name suffix (extension). In that case <samp>reslog</samp> will fail when reading from <samp>STDIN</samp>. You can <a href="http://search.cpan.org/dist/File-MMagic/">download and install <samp>File::MMagic</samp> from the <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> archive</a>, or install it with the <samp>CPAN</samp> shell by running <q><samp>cpan File::MMagic</samp></q>, or install it with the <samp>CPANPLUS</samp> shell by running <q><samp>cpanp i Term::ReadKey</samp></q>. Debian/Ubandu Linux users can install it by running <q><samp>apt-get install libfile-mmagic-perl</samp></q>. Red Hat/Fedora/CentOS Linux users can install it by running <q><samp>yum install perl-File-MMagic</samp></q>. FreeBSD users can install it by running <q><samp>ports install p5-File-MMagic</samp></q>. ActivePerl users can install it by running <q><samp>ppm install File::MMagic</samp></q>. The alternative <samp>file.exe</samp> for <abbr title="Microsoft">MS</abbr>-Windows can be obtained from the <a href="http://gnuwin32.sourceforge.net/">GnuWin32 home page</a>. Be sure to save it as <samp>file.exe</samp> somewhere in your <samp>PATH</samp>.</p>
<p>It is preferred to use <a href="http://search.cpan.org/dist/File-MMagic/"><samp>File::MMagic</samp></a>. The <samp>file</samp> executable seems to make mistakes occationally.</p>
</dd>
<dt><a href="http://search.cpan.org/dist/Compress-Zlib/"><samp>Compress::Zlib</samp></a></dt>
<dd>
<p>This is used to support read/write of gzip compressed files. It is only needed when gzip compressed files are encountered. If it is not available when needed, <samp>reslog</samp> will try to use the <samp>gzip</samp> executable instead. If that is not available, too, <samp>reslog</samp> will fail. You can <a href="http://search.cpan.org/dist/Compress-Zlib/">download and install <samp>Compress::Zlib</samp> from the <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> archive</a>, or install it with the <samp>CPAN</samp> shell by running <q><samp>cpan Compress::Zlib</samp></q>, or install it with the <samp>CPANPLUS</samp> shell by running <q><samp>cpanp i Compress::Zlib</samp></q>. Debian/Ubandu Linux users can install it by running <q><samp>apt-get install libcompress-zlib-perl</samp></q>. Red Hat/Fedora/CentOS Linux users can install it by running <q><samp>yum install perl-Compress-Zlib</samp></q>. FreeBSD users can install it by running <q><samp>ports install p5-Compress-Zlib</samp></q>. ActivePerl users can install it by running <q><samp>ppm install Compress::Zlib</samp></q>. The alternative <samp>gzip.exe</samp> for <abbr title="Microsoft">MS</abbr>-Windows can be obtained from the <a href="http://www.gzip.org/">gzip home page</a>. Be sure to save it as <samp>gzip.exe</samp> somewhere in your <samp>PATH</samp>.</p>
</dd>
<dt><a href="http://search.cpan.org/dist/Compress-Bzip2/"><samp>Compress::Bzip2</samp></a>, version 2 or above</dt>
<dd>
<p>This is used to support read/write of bzip2 compressed files. It is only needed when bzip2 compressed files are encountered. If it is not available when needed, <samp>reslog</samp> will try to use the <samp>bzip2</samp> executable instead. If that is not available, too, <samp>reslog</samp> will fail. Notice that older versions before 2 does not work, since file <abbr title="input and output">I/O</abbr> compression were not implemented yet. You can <a href="http://search.cpan.org/dist/Compress-Bzip2/">download and install <samp>Compress::Bzip2</samp> from the <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> archive</a>, or install it with the <samp>CPAN</samp> shell by running <q><samp>cpan Compress::Bzip2</samp></q>, or install it with the <samp>CPANPLUS</samp> shell by running <q><samp>cpanp i Compress::Bzip2</samp></q>. Debian/Ubandu Linux users can install it by running <q><samp>apt-get install libcompress-bzip2-perl</samp></q>. Red Hat/Fedora/CentOS Linux users can install it by running <q><samp>yum install perl-Compress-Bzip2</samp></q>. FreeBSD users can install it by running <q><samp>ports install p5-Compress-Bzip2</samp></q>. ActivePerl users can install it by running <q><samp>ppm install Compress::Bzip2</samp></q>. The alternative <samp>bzip2.exe</samp> for <abbr title="Microsoft">MS</abbr>-Windows can be obtained from the <a href="http://www.bzip.org/">bzip2 home page</a>. Be sure to save it as <samp>bzip2.exe</samp> somewhere in your <samp>PATH</samp>.</p>
</dd>
<dt><a href="http://search.cpan.org/dist/TermReadKey/"><samp>Term::ReadKey</samp></a></dt>
<dd>
<p>This is used to display the progress bar. Without this <samp>reslog</samp> won&rsquo;t display the progress bar, but nothing else is different. The progress bar is a good visual representation of what <samp>reslog</samp> is currently doing. You can <a href="http://search.cpan.org/dist/TermReadKey/">download and install <samp>Term::ReadKey</samp> from the <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> archive</a>, or install it with the <samp>CPAN</samp> shell by running <q><samp>cpan Term::ReadKey</samp></q>, or install it with the <samp>CPANPLUS</samp> shell by running <q><samp>cpanp i Term::ReadKey</samp></q>. Debian/Ubandu Linux users can install it by running <q><samp>apt-get install libterm-readkey-perl</samp></q>. Red Hat/Fedora/CentOS Linux users can install it by running <q><samp>yum install perl-TermReadKey</samp></q>. FreeBSD users can install it by running <q><samp>ports install p5-Term-ReadKey</samp></q>. ActivePerl users can install it by running <q><samp>ppm install Term::ReadKey</samp></q>.</p>
</dd>
</dl>
</li>
</ol>
<h2>Download</h2>
<p><samp>reslog</samp>&rsquo;s official websites is at&hellip;</p>
<ul>
<li><p><a href="http://reslog.sourceforge.net/"><samp>reslog</samp> web site at SourceForge</a></p></li>
<li><p><a href="https://sourceforge.net/projects/reslog/"><samp>reslog</samp> project page at SourceForge</a></p></li>
<li><p><a href="http://search.cpan.org/~imacat/reslog/"><samp>reslog</samp> project page at <abbr title="Comprehensive Perl Archive Network">CPAN</abbr></a></p></li>
<li><p><a href="http://www.imacat.idv.tw/tech/reslog.html"><samp>reslog</samp> page at Tavern IMACAT&rsquo;s</a></p></li>
</ul>
<p>You can always download the newest version of <samp>reslog</samp> from&hellip;</p>
<ul>
<li><p><a href="https://sourceforge.net/project/showfiles.php?group_id=62500"><samp>reslog</samp> download page at SourceForge</a></p></li>
<li><p><a href="http://search.cpan.org/~imacat/reslog/"><samp>reslog</samp>&rsquo;s project page at <abbr title="Comprehensive Perl Archive Network">CPAN</abbr></a></p></li>
<li><p><a href="ftp://ftp.imacat.idv.tw/pub/reslog/">Tavern IMACAT&rsquo;s <abbr title="File Transfer Protocol">FTP</abbr> directory</a></p></li>
</ul>
<p>imacat&rsquo;s <abbr title="Pretty Good Privacy">PGP</abbr> public key is at&hellip;</p>
<ul>
<li><p><a href="http://reslog.sourceforge.net/pgpkey.asc">imacat&rsquo;s <abbr title="Pretty Good Privacy">PGP</abbr> key at <samp>reslog</samp> SourceForge web site</a></p></li>
<li><p><a href="http://www.imacat.idv.tw/me/pgpkey.asc">imacat&rsquo;s <abbr title="Pretty Good Privacy">PGP</abbr> key at Tavern IMACAT&rsquo;s</a></p></li>
</ul>
<h2>Install</h2>
<p>If you are upgrading from <samp>reslog</samp> 3.10 or earlier, or if you are upgrading from <samp>reslog.pl</samp> 3.02 or earlier, please read <samp>UPGRADE</samp> for some upgrade instruction.</p>
<h3>Install with <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/"><samp>ExtUtils::MakeMaker</samp></a></h3>
<p><samp>reslog</samp> uses standard <acronym title="Practical Extraction and Reporting Language">Perl</acronym> installation with <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/"><samp>ExtUtils::MakeMaker</samp></a>. Follow these steps:</p>
<blockquote><pre>
% perl Makefile.PL
% make
% make test
% make install
</pre></blockquote>
<p>When running <q><samp>make install</samp></q>, make sure you have the priviledge to write to the installation location. This usually requires the <samp>root</samp> priviledge.</p>
<p>If you are using ActivePerl under <abbr title="Microsoft">MS</abbr>-Windows, you should use <samp>nmake</samp> instead of <samp>make</samp>. <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe" type="application/x-dosexec"><samp>nmake</samp> can be obtained from the Microsoft <abbr title="File Transfer Protocol">FTP</abbr> site.</a></p>
<p>If you want to install into another location, you can set the <samp>PREFIX</samp>. For example, to install into your home when you are not <samp>root</samp>:</p>
<blockquote><pre>
% perl Makefile.PL PREFIX=/home/jessica
</pre></blockquote>
<p>Refer to the docuemntation of <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/" hreflang="en" xml:lang="en"><samp>ExtUtils::MakeMaker</samp></a> for more installation options (by running <q><samp>perldoc ExtUtils::MakeMaker</samp></q>).</p>
<h3>Install with <a href="http://search.cpan.org/dist/Module-Build/"><samp>Module::Build</samp></a></h3>
<p>You can install with <a href="http://search.cpan.org/dist/Module-Build/"><samp>Module::Build</samp></a> instead, if you prefer. Follow these steps:</p>
<blockquote><pre>
% perl Build.PL
% ./Build
% ./Build test
% ./Build install
</pre></blockquote>
<p>When running <q><samp>./Build install</samp></q>, make sure you have the priviledge to write to the installation location. This usually requires the <samp>root</samp> priviledge.</p>
<p>If you want to install into another location, you can set the <samp>--prefix</samp>. For example, to install into your home when you are not <samp>root</samp>:</p>
<blockquote><pre>
% perl Build.PL --prefix=/home/jessica
</pre></blockquote>
<p>Refer to the docuemntation of <a href="http://search.cpan.org/dist/Module-Build/"><samp>Module::Build</samp></a> for more installation options (by running <q><samp>perldoc Module::Build</samp></q>).</p>
<h2>Options</h2>
<pre>
./reslog [options] [logfile&hellip;]
./reslog [-h|-v]
</pre>
<dl>
<dt><var>logfile</var></dt>
<dd>
<p>The log file to be resolved. Multiple log files are supported. If not specified, it will read from <samp>STDIN</samp> and output to <samp>STDOUT</samp>. You can also specify <q><samp>-</samp></q> to read from <samp>STDIN</samp>. Result of <samp>STDIN</samp> will go to <samp>STDOUT</samp>. <samp>gzip</samp> or <samp>bzip2</samp> compressed files are supported, too.</p>
</dd>
<dt>-k, --keep <var>mode</var></dt>
<dd>
<p>What to keep in the source file. Currently the following modes are supported:</p>
<dl>
<dt>a, all</dt>
<dd>
<p>Keep the source file after records are archived.</p>
</dd>
<dt>r, restart</dt>
<dd>
<p>Restart the source file after records are resolved.</p>
</dd>
<dt>d, delete</dt>
<dd>
<p>Delete the source file after records are resolved. This is the default.</p>
</dd>
</dl>
</dd>
<dt>-o, --override <var>mode</var></dt>
<dd>
<p>Whether we should overwrite the existing resolved files. Currently the following modes are supported:</p>
<dl>
<dt>o, overwrite</dt>
<dd>
<p>Overwrite existing target files.</p>
</dd>
<dt>a, append</dt>
<dd>
<p>Append the records to existing target files.</p>
</dd>
<dt>f, fail</dt>
<dd>
<p>Stop processing whenever a target file exists, to prevent destroying existing files by accident. This is the default.</p>
</dd>
</dl>
</dd>
<dt>-s, --suffix <var>suf</var></dt>
<dd>
<p>The suffix to be appended to the output file. If not specified, the default is <q><samp>.resolved</samp></q>.</p>
</dd>
<dt>-t, --trim-suffix <var>suf</var></dt>
<dd>
<p>The suffix to be trimmed from the input file name before appending the above suffix. Default is none. If you are running several log file filters, this can help you trim the suffix of the previous one.</p>
</dd>
<dt>-n, --num-threads <var>num</var></dt>
<dd>
<p>Number of threads to run simultaneously. The default is 10. Use 0 to disable threading. Your system must support threading itself. This option has no effect for systems that do not support threading.</p>
</dd>
<dt>-c, --stdout</dt>
<dd>
<p>Output the result to <samp>STDOUT</samp>.</p>
</dd>
<dt>-d, --debug</dt>
<dd>
<p>Show the detailed debugging messages. More <samp>-d</samp> to be more detailed.</p>
</dd>
<dt>-q, --quiet</dt>
<dd>
<p>Shihhhhhh. Only yell when errors.</p>
</dd>
<dt>-h, --help</dt>
<dd>
<p>Display the help message and exit.</p>
</dd>
<dt>-v, --version</dt>
<dd>
<p>Output version information and exit.</p>
</dd>
</dl>
<h2>Copyright</h2>
<p>Copyright &copy; 2001-2007 imacat.</p>
<p>This program is free software: you can redistribute it and/or modify it under the terms of the <cite><acronym title="GNU&rsquo;s Not UNIX">GNU</acronym> General Public License</cite> as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful, but <em>WITHOUT ANY WARRANTY</em>; without even the implied warranty of <em>MERCHANTABILITY</em> or <em>FITNESS FOR A PARTICULAR PURPOSE</em>. See the <cite><acronym title="GNU&rsquo;s Not UNIX">GNU</acronym> General Public License</cite> for more details.</p>
<p>You should have received a copy of the <cite><acronym title="GNU&rsquo;s Not UNIX">GNU</acronym> General Public License</cite> along with this program. If not, see <samp>&lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;</samp>.</p>
<h2>Release Notes</h2>
<p>Please read the <samp>NEWS</samp> for the new functions and bug fixes.</p>
<h2>Support</h2>
<p><samp>reslog</samp> is hosted on <a href="https://sourceforge.net/">SourceForge</a>, <a href="http://www.cpan.org/"><acronym title="Comprehensive Perl Archive Network">CPAN</acronym></a> and <a href="http://www.imacat.idv.tw/">Tavern IMACAT&rsquo;s</a>. For the latest infomation, see</p>
<ul>
<li><p><a href="http://reslog.sourceforge.net/"><samp>reslog</samp> web site at SourceForge</a>.</p></li>
<li><p><a href="http://sourceforge.net/projects/reslog/"><samp>reslog</samp> project page at SourceForge</a>.</p></li>
<li><p><a href="http://search.cpan.org/dist/reslog/"><samp>reslog</samp> project page at <abbr title="Comprehensive Perl Archive Network">CPAN</abbr></a>.</p></li>
<li><p><a href="http://www.imacat.idv.tw/tech/reslog.html"><samp>reslog</samp> page at Tavern IMACAT&rsquo;s</a>.</p></li>
</ul>
<p>There is a <a href="mailto:reslog-users&#64;lists.sourceforge.net"><samp>reslog</samp> mailing list</a> hosted at <a href="https://sourceforge.net/">SourceForge</a>. Please submit your questions, suggestions or bug reports there. It is a <a href="http://www.list.org/">Mailman</a> mailing list. For more information, see the <a href="https://lists.sourceforge.net/lists/listinfo/reslog-users"><samp>reslog</samp> mailing list page</a>. Alternatively, you can send a mail to the <a href="mailto:reslog-users-request&#64;lists.sourceforge.net"><acronym title="electronic mail">e-mail</acronym> command mailbox</a> with the subject <samp>help</samp> for a list of available <acronym title="electronic mail">e-mail</acronym> commands.</p>
</div>
<hr />
<div id="footer" class="footer" title="Page Footer Area">
<address>By <a href="mailto:imacat&#64;mail.imacat.idv.tw">imacat</a>, first version 2001-07-04, last updated 2008-11-18</address>
<address>Copyright &copy; 2001-2008 imacat. Please read the <a href="fdl.txt">copyright</a> before copying.</address>
</div>
</body>
</html>

521
reslog.zh-cn.html Normal file
View File

@ -0,0 +1,521 @@
<?xml version="1.0" encoding="GB2312" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=GB2312" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="author" content="<22><><EFBFBD><EFBFBD>è" />
<meta name="copyright" content="&copy; 2001-2008 <20><><EFBFBD><EFBFBD>è<EFBFBD><C3A8>" />
<meta name="keywords" content="DNS <20><><EFBFBD><EFBFBD>, HostNameLookups, Apache, Analog, <20><>¼<EFBFBD><C2BC>" />
<link rel="alternate" type="application/xhtml+xml" href="reslog.zh-tw.html"
hreflang="zh-tw" title="<22><>&#39636;<3B><><EFBFBD><EFBFBD>" />
<link rel="alternate" type="application/xhtml+xml" href="reslog.en.html"
hreflang="en-us" title="English" />
<link rel="copyright" type="text/plain" href="fdl.txt" />
<link rel="author" href="mailto:imacat&#64;mail.imacat.idv.tw" />
<style type="text/css">
h2, em {
text-transform: uppercase;
}
.accessguide {
font-size: 0.5em;
float: left;
width: 0.5em;
}
q {
quotes: "<22><>" "<22><>" "<22><>" "<22><>";
}
q:lang(en) {
quotes: "\201C" "\201D" "\2018" "\2019";
}
</style>
<title>reslog 3.16 <20><></title>
</head>
<body>
<div class="langs" title="<22><><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><D0BB><EFBFBD>">
<span xml:lang="zh-tw"><a href="reslog.zh-tw.html"
title="<22><>&#25563;<3B><><EFBFBD><EFBFBD>&#38913;<3B><><EFBFBD><EFBFBD>&#39636;<3B><><EFBFBD>İ档"
hreflang="zh-tw"><EFBFBD><EFBFBD>&#39636;<EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></span> |
<span><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span> |
<span xml:lang="en-us"><a href="reslog.en.html"
title="Switch to the English version of this page."
hreflang="en-us">English</a></span>
</div>
<hr />
<div id="body" class="body" title="<22><>ҳ<EFBFBD><D2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
<div class="accessguide"><a accesskey="C"
href="#body" title="<22><>ҳ<EFBFBD><D2B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">:::</a></div>
<h1><samp xml:lang="en">reslog</samp> 3.16 <20><></h1>
<h2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ</h2>
<dl>
<dt>2007-12-04</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.16 <20><><EFBFBD>°<EFBFBD><C2B0><EFBFBD><EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en" xml:lang="en"><samp>Compress::Bzip2</samp></a> <20><><EFBFBD><EFBFBD><EFBFBD>Ŀյ<C4BF><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.16.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.16 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2007-12-03</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.16 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">Makefile.PL</samp> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֮ǰ<D6AE><C7B0>װ<EFBFBD><D7B0> <samp xml:lang="en">reslog</samp> 3.13 <20><><EFBFBD><EFBFBD>֮<EFBFBD><D6AE><EFBFBD>İ汾<C4B0><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>°档<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.16.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.16 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2007-12-03</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.14 <20><><EFBFBD>°<EFBFBD><C2B0>кü<D0BA><C3BC><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Գ<EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֮ǰ<D6AE><C7B0>װ<EFBFBD><D7B0> <samp xml:lang="en">reslog</samp> 3.13 <20><EFBFBD><E6A3AC><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>°档<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.14.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.14 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2007-12-03</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.13 <20><><EFBFBD>°<EFBFBD><C2B0>кܶ<D0BA><DCB6><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Գ<EFBFBD>ʽ<EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.13.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.13 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2007-07-23</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.12 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <abbr title="internet protocol" xml:lang="en">IP</abbr> <20><><EFBFBD><EFBFBD>ʱ<EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.12.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.12 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2007-07-23</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.11 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߳<EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><>ִ<EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><E2A3AC> <samp xml:lang="en">file</samp> <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><EBB5B5><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD><CDB5><EFBFBD><EFBFBD><EFBFBD><E2A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>װ<EFBFBD><D7B0><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD>Է<EFBFBD><D4B7><EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><>׼<EFBFBD><D7BC>װ<EFBFBD><EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧Ԯ<D6A7><D4AE> <a href="http://search.cpan.org/dist/Module-Build/" hreflang="en" xml:lang="en"><samp>Module::Build</samp></a> <20><>װ<EFBFBD><D7B0><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.11.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.11 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2007-07-22</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.10 <20><>˵<EFBFBD><CBB5><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.10.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.10 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2007-07-21</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.09 <20><><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>Ϊ <a href="http://www.gnu.org/licenses/gpl-3.0.html" hreflang="en" xml:lang="en"><abbr title="GNU General Public License version 3" xml:lang="en">GPLv3</abbr></a> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.09.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.09 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2005-05-22</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.08 <20><>˵<EFBFBD><CBB5><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.08.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.08 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2005-05-22</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.07 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>Ա<EFBFBD><D4B1>ڸ<EFBFBD><DAB8><EFBFBD>ƽ̨<C6BD><CCA8>ִ<EFBFBD>С<EFBFBD>Ŀǰ<C4BF><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ̨<C6BD><CCA8>ִ<EFBFBD>У<EFBFBD> <a href="http://www.linux.org/" hreflang="en" xml:lang="en">Linux</a> <20><> <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20><> <a href="http://www.cygwin.com/" hreflang="en" xml:lang="en">Cygwin</a> <20><> <a href="http://www.sun.com/software/solaris/" hreflang="en" xml:lang="en">Solaris</a> <20><> <a href="http://www.freebsd.org/" hreflang="en" xml:lang="en">FreeBSD</a> <20><> <a href="http://developer.apple.com/opensource/" hreflang="en" xml:lang="en">MacOSX Darwin</a> <20><><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.07.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.07 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2005-05-16</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.06 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Գ<EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.06.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.06 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2005-05-08</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.05 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><EBB2BB><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.05.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.05 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2005-05-08</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.04 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a> ʱ<>ı<EFBFBD><C4B1>֡<EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.04.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.04 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2005-05-08</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.03 <20><>Ԥ<EFBFBD>谲װĿ¼<C4BF>Ļص<C4BB> <samp xml:lang="en">/sbin</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <q xml:lang="en"><samp>make upgrade</samp></q> <20><>ɾ<EFBFBD><C9BE><EFBFBD>ɰ浵<C9B0><E6B5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֮ǰ<D6AE><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.03.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.03 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2005-05-02</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.02 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20><> <a href="http://www.cygwin.com/" hreflang="en" xml:lang="en">Cygwin</a> <20>ϲ<EFBFBD><CFB2><EFBFBD>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD><EFBFBD>󣬲<EFBFBD><F3A3ACB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˺ü<CBBA><C3BC><EFBFBD>С<EFBFBD><D0A1><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.02.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.02 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2005-04-26</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.01 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD>صĴ<D8B5><C4B4>󣬴<EFBFBD>ʹ <samp xml:lang="en">--suffix</samp> <20><> <samp xml:lang="en">--trim-suffix</samp> <20><><EFBFBD><EFBFBD><EFBFBD>˴<EFBFBD><CBB4><EFBFBD><EFBFBD>ĵ<EFBFBD>β<EFBFBD><CEB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ<EFBFBD><D7B0> 3.01 <20><EFBFBD><E6A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.01.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.01 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2005-04-26</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>°汾 3.00 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<C4A3><CABD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7>д<EFBFBD><D0B4><EFBFBD>¼<EFBFBD><C2BC><EFBFBD> <span xml:lang="en">ithreads</span> <20><><EFBFBD>̹߳<DFB3><CCB9>ܣ<EFBFBD><DCA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD>ִ<EFBFBD><D6B4><EFBFBD>ٶȡ<D9B6>֧Ԯ <samp xml:lang="en">bzip2</samp> ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧Ԯ<D6A7><D4AE> <samp xml:lang="en">gzip</samp> <20><> <samp xml:lang="en">bzip2</samp> <20><>ʽ<EFBFBD><CABD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>谲װ <a href="http://search.cpan.org/dist/Compress-Zlib/" hreflang="en" xml:lang="en"><samp>Compress::Zlib</samp></a> <20><> <a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en" xml:lang="en"><samp>Compress::Bzip2</samp></a> ģ<><EFBFBD><E9A3A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȳõ<C8B2>ijЩ<C4B3><D0A9>β<EFBFBD><CEB2><EFBFBD>ټ<EFBFBD><D9BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǵĵ<C7B5>β<EFBFBD><CEB2><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽһ<CABD><D2BB><EFBFBD><EFBFBD>ҵ<EFBFBD><D2B5><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.00.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.00 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2002-09-18</dt>
<dd>
<p><samp xml:lang="en">reslog.pl</samp> <20><><EFBFBD>°汾 2.1.0dev2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˼<EFBFBD><CBBC><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>ļ<EFBFBD><C4BC>Ĵ<EFBFBD><C4B4>󣬲<EFBFBD><F3A3ACB2><EFBFBD> <a href="http://sourceforge.net/" hreflang="en" xml:lang="en">SourceForge</a> <20>ӽ<EFBFBD> <samp xml:lang="en">reslog.pl</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD><D4B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><q><span xml:lang="en">SourceForge</span> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></q><EFBFBD><EFBFBD>ԭ<EFBFBD><EFBFBD><EFBFBD>ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog.pl-2.1.0dev2.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog.pl</samp> 2.1.0dev2 <20><></a><EFBFBD><EFBFBD></p>
</dd>
<dt>2002-09-17</dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD> <samp xml:lang="en">reslog.pl</samp> <20>ѿ<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://sourceforge.net/projects/reslog/" hreflang="en" xml:lang="en">SourceForge</a> <20>ޣ<EFBFBD><DEA3><EFBFBD><EFBFBD><EFBFBD>Ȼ<EFBFBD>Ҽ<EFBFBD><D2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD><EFBFBD><E3B2BB><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ô<EFBFBD><C3B4>&hellip;<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>&hellip; ^^; <20><></p>
</dd>
<dt>2002-08-31</dt>
<dd>
<p><samp xml:lang="en">reslog.pl</samp> <20><><EFBFBD>°汾 2.1.0dev1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޷<EFBFBD><DEB7><EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> 5.8.0 ִ<>еĴ<D0B5><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <q xml:lang="en"><abbr title="development">dev</abbr></q> <20>з<EFBFBD><D0B7><EFBFBD><E6A3AC>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2.1.0 <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>֧Ԯ <a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en" xml:lang="en"><samp>Compress::Bzip2</samp></a> <20><> <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/" hreflang="en" xml:lang="en"><samp>ExtUtils::MakeMaker</samp></a> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD>ȶ<EFBFBD><C8B6><EFBFBD><a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog.pl-2.1.0dev1.tar.gz" type="application/x-gzip"><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog.pl</samp> 2.1.0dev2 <20><></a><EFBFBD><EFBFBD></p>
</dd>
</dl>
<h2>˵<EFBFBD><EFBFBD></h2>
<p><dfn xml:lang="en"><samp>reslog</samp></dfn> <20>Ǽ<EFBFBD>¼<EFBFBD><C2BC><EFBFBD>ķ<EFBFBD><C4B7><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://httpd.apache.org/" hreflang="en" xml:lang="en">Apache</a> <20><>¼<EFBFBD><C2BC><EFBFBD><EFBFBD> <abbr title="internet protocol" xml:lang="en">IP</abbr> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD><C6A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>󣬿<EFBFBD><F3A3ACBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://analog.cx/" hreflang="en" xml:lang="en">Analog</a> ֮<><D6AE><EFBFBD>ļ<EFBFBD>¼<EFBFBD><C2BC>ͳ<EFBFBD>Ƴ<EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD><D4B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Apache</span> <samp xml:lang="en">HostNameLookups</samp> ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>ÿ<EFBFBD><C3BF>һ<EFBFBD>η<EFBFBD><CEB7><EFBFBD><E9B5B1><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD> <abbr title="internet protocol" xml:lang="en">IP</abbr> <20><></p>
<h2>ע<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h2>
<ul>
<li><p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><em><EFBFBD>ܺ<EFBFBD>ʱ<EFBFBD><EFBFBD></em><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD>ڲ<EFBFBD>ѯ<EFBFBD>ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>п<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD>ϡ<EFBFBD><EFBFBD>ȼ<EFBFBD>̫<EFBFBD>ͷ<EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>&hellip;<EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD>Щ<EFBFBD>ⲿ<EFBFBD><EFBFBD><EFBFBD>أ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>dz<EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܿ<EFBFBD><EFBFBD>Ƶġ<EFBFBD></p></li>
<li><p><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>;<EFBFBD>жϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Ctrl-Break</span> <20><><EFBFBD><EFBFBD><EFBFBD>ܻ<EFBFBD><DCBB><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>´<EFBFBD>ִ<EFBFBD><D6B4>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>ܾ<EFBFBD>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȴ<EFBFBD><C8B4><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD><D4B0><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD>ļ<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD>·<EFBFBD><C2B7></p></li>
<li><p><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>Ҫ<EFBFBD>ܶ<EFBFBD><EFBFBD>ݴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵĿռ䡣Ӳ<EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>۸<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD>Ƚ<EFBFBD>ʡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӳ<EFBFBD><EFBFBD><EFBFBD>ݴ档<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>Ҫԭ<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD>Ӳ<EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>У<EFBFBD><EFBFBD>ü<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݴ<EFBFBD><EFBFBD>Ļ<EFBFBD>Ҫ<EFBFBD><EFBFBD>ʮ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӳ<EFBFBD><EFBFBD><EFBFBD>ռ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></p></li>
<li><p><samp xml:lang="en">reslog</samp> <20><>δ֧Ԯ <abbr title="internet protocol version 6" xml:lang="en">IPv6</abbr> <20><></p></li>
<li><p><EFBFBD>ҽ<EFBFBD><EFBFBD>鰲װ <a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA> <samp xml:lang="en">file</samp> <20><>ʽ<EFBFBD><CABD> <a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a> <20>ڽ<EFBFBD><DABD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͱ<EFBFBD><CDB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">file</samp> <20><>ʽ׼ȷ<D7BC><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">gzip</samp> <20><> <samp xml:lang="en">bzip2</samp> ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD>ɴ<EFBFBD><C9B4><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊͼ<CEAA><CDBC><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20><EFBFBD>ɴ<EFBFBD><C9B4><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>ֱ<EFBFBD>Ӷ<EFBFBD><D3B6><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD>Ū<EFBFBD><C5AA>ԭ<EFBFBD><D4AD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5><EFBFBD><E9B7B3></p></li>
</ul>
<h2>ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD></h2>
<ol>
<li><p><acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> 5.8.0 <20><><EFBFBD>ϡ<EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">open()</samp> <20><><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD>֪<EFBFBD><D6AA><EFBFBD><EFBFBD>ô<EFBFBD><C3B4>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ汾<C4B0><E6B1BE>ִ<EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>İ汾<C4B0><E6B1BE>ִ<EFBFBD>У<EFBFBD><D0A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҡ<EFBFBD><D2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <q xml:lang="en"><samp>perl -v</samp></q> <20><>ѯ<EFBFBD><D1AF>Ŀǰ<C4BF><C7B0> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><EFBFBD><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD> <a href="http://www.perl.com/" hreflang="en"><acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><>վ</a><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ<EFBFBD><EFBFBD><EFBFBD>°<EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20><><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD> <a href="http://www.activestate.com/" hreflang="en"><span xml:lang="en">ActiveState</span> <20><>˾</a><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">ActivePerl</span> <20><>װ<EFBFBD><D7B0></p></li>
<li><p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> ģ<><EFBFBD>ޡ<EFBFBD></p></li>
<li><p>ѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> ģ<></p>
<dl>
<dt><a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a></dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD>Ǽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õġ<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>а<EFBFBD>װ<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD> <samp xml:lang="en">file</samp> <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>β<EFBFBD><CEB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>жϵ<D0B6><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͡<EFBFBD><CDA1><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ӱ<EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD>޷<EFBFBD><DEB7>ж<EFBFBD><D0B6>ˡ<EFBFBD><CBA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en"><EFBFBD><EFBFBD> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ <samp xml:lang="en">File::MMagic</samp> </a><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><samp>CPAN</samp> Shell</span> ִ<><D6B4> <q xml:lang="en"><samp>cpan File::MMagic</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><samp>CPANPLUS</samp> Shell</span> ִ<><D6B4> <q xml:lang="en"><samp>cpanp i File::MMagic</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Debian/Ubandu Linux</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>apt-get install libfile-mmagic-perl</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Red Hat/Fedora/CentOS Linux</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>yum install perl-File-MMagic</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">FreeBSD</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>ports install p5-File-MMagic</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">ActivePerl</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>ppm install File::MMagic</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA> <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20><>ʹ<EFBFBD><CAB9> <samp xml:lang="en">file.exe</samp> <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://gnuwin32.sourceforge.net/" hreflang="en-us"><span xml:lang="en">GnuWin32</span> <20><>վ</a><EFBFBD><EFBFBD><EFBFBD>ء<EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>غ󣬴浵<EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ <samp xml:lang="en">file.exe</samp> <20><></p>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a> <20><> <samp xml:lang="en">file</samp> <20><>ʽż<CABD><C5BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD></p>
</dd>
<dt><a href="http://search.cpan.org/dist/Compress-Zlib/" hreflang="en" xml:lang="en"><samp>Compress::Zlib</samp></a></dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD>Ǵ<EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">gzip</samp> ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD>õģ<C3B5>ֻ<EFBFBD><D6BB><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD> <samp xml:lang="en">gzip</samp> ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD>Ż<EFBFBD><C5BB>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ʱû<CAB1>а<EFBFBD>װ<EFBFBD><D7B0> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">gzip</samp> <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD>޷<EFBFBD>ִ<EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="http://search.cpan.org/dist/Compress-Zlib/" hreflang="en"><EFBFBD><EFBFBD> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ <samp xml:lang="en">Compress::Zlib</samp> </a><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><samp>CPAN</samp> Shell</span> ִ<><D6B4> <q xml:lang="en"><samp>cpan Compress::Zlib</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><samp>CPANPLUS</samp> Shell</span> ִ<><D6B4> <q xml:lang="en"><samp>cpanp i Compress::Zlib</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Debian/Ubandu Linux</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>apt-get install libcompress-zlib-perl</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Red Hat/Fedora/CentOS Linux</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>yum install perl-Compress-Zlib</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">FreeBSD</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>ports install p5-Compress-Zlib</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">ActivePerl</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>ppm install Compress::Zlib</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA> <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20><>ʹ<EFBFBD><CAB9> <samp xml:lang="en">gzip.exe</samp> <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://www.gzip.org/" hreflang="en"><samp xml:lang="en">gzip</samp> <20><>վ</a><EFBFBD><EFBFBD><EFBFBD>ء<EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>غ󣬴浵<EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ <samp xml:lang="en">gzip.exe</samp> <20><></p>
</dd>
<dt><a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en" xml:lang="en"><samp>Compress::Bzip2</samp></a> <20>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD>Ǵ<EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">bzip2</samp> ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD>õģ<C3B5>ֻ<EFBFBD><D6BB><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD> <samp xml:lang="en">bzip2</samp> ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD>Ż<EFBFBD><C5BB>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>ʱû<CAB1>а<EFBFBD>װ<EFBFBD><D7B0> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">bzip2</samp> <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><E6A1A3><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD>޷<EFBFBD>ִ<EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en"><EFBFBD><EFBFBD> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ <samp xml:lang="en">Compress::Bzip2</samp> </a><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><samp>CPAN</samp> Shell</span> ִ<><D6B4> <q xml:lang="en"><samp>cpan Compress::Bzip2</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><samp>CPANPLUS</samp> Shell</span> ִ<><D6B4> <q xml:lang="en"><samp>cpanp i Compress::Bzip2</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Debian/Ubandu Linux</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>apt-get install libcompress-bzip2-perl</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Red Hat/Fedora/CentOS Linux</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>yum install perl-Compress-Bzip2</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">FreeBSD</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>ports install p5-Compress-Bzip2</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">ActivePerl</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>ppm install Compress::Bzip2</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA> <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20><>ʹ<EFBFBD><CAB9> <samp xml:lang="en">bzip2.exe</samp> <20><>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://www.bzip.org/" hreflang="en"><samp xml:lang="en">bzip2</samp> <20><>վ</a><EFBFBD><EFBFBD><EFBFBD>ء<EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>غ󣬴浵<EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD>£<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ <samp xml:lang="en">bzip2.exe</samp> <20><></p>
</dd>
<dt><a href="http://search.cpan.org/dist/TermReadKey/" hreflang="en" xml:lang="en"><samp>Term::ReadKey</samp></a></dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õģ<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>а<EFBFBD>װ<EFBFBD><EFBFBD><EFBFBD>Ͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>п<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һĿ<D2BB><C4BF>Ȼ<EFBFBD><C8BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><a href="http://search.cpan.org/dist/TermReadKey/" hreflang="en"><EFBFBD><EFBFBD> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ذ<EFBFBD>װ <samp xml:lang="en">Term::ReadKey</samp> </a><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><samp>CPAN</samp> Shell</span> ִ<><D6B4> <q xml:lang="en"><samp>cpan Term::ReadKey</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><samp>CPANPLUS</samp> Shell</span> ִ<><D6B4> <q xml:lang="en"><samp>cpanp i Term::ReadKey</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Debian/Ubandu Linux</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>apt-get install libterm-readkey-perl</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">Red Hat/Fedora/CentOS Linux</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>yum install perl-TermReadKey</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">FreeBSD</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>ports install p5-Term-ReadKey</samp></q> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">ActivePerl</span> ʹ<><CAB9><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>ppm install Term::ReadKey</samp></q> <20><>װ<EFBFBD><D7B0></p>
</dd>
</dl>
</li>
</ol>
<h2><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h2>
<p><samp xml:lang="en">reslog</samp> <20>Ĺٷ<C4B9><D9B7><EFBFBD>վ<EFBFBD>ڣ<EFBFBD></p>
<ul>
<li><p><a href="http://reslog.sourceforge.net/"><span xml:lang="en">SourceForge</span> <20>ϵ<EFBFBD> <samp xml:lang="en">reslog</samp> <20><>վ<EFBFBD><D5BE></a></p></li>
<li><p><a href="https://sourceforge.net/projects/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <span xml:lang="en">SourceForge</span> ר<><D7A8>ҳ<EFBFBD><D2B3></a></p></li>
<li><p><a href="http://search.cpan.org/~imacat/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> ר<><D7A8>ҳ<EFBFBD><D2B3></a></p></li>
<li><p><a href="http://www.imacat.idv.tw/tech/reslog.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20><>ҳ</a></p></li>
</ul>
<p><EFBFBD><EFBFBD><EFBFBD>°<EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λַ<CEBB><D6B7><EFBFBD>أ<EFBFBD></p>
<ul>
<li><p><a href="https://sourceforge.net/project/showfiles.php?group_id=62500" hreflang="en"><samp xml:lang="en">reslog</samp> <span xml:lang="en">SourceForge</span> <20><><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3></a></p></li>
<li><p><a href="http://search.cpan.org/~imacat/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> ר<><D7A8>ҳ<EFBFBD><D2B3></a></p></li>
<li><p><a href="ftp://ftp.imacat.idv.tw/pub/reslog/"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <abbr title="File Transfer Protocol" xml:lang="en">FTP</abbr> վ<><D5BE></a></p></li>
</ul>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD>è<EFBFBD><EFBFBD> <abbr title="Pretty Good Privacy" xml:lang="en">PGP</abbr> <20><>Կ<EFBFBD>ڣ<EFBFBD></p>
<ul>
<li><p><a href="http://reslog.sourceforge.net/pgpkey.asc"><samp xml:lang="en">reslog</samp> <span xml:lang="en">SourceForge</span> <20><>վ<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD>è <abbr title="Pretty Good Privacy" xml:lang="en">PGP</abbr> <20><>Կ<EFBFBD><D4BF></a></p></li>
<li><p><a href="http://www.imacat.idv.tw/me/pgpkey.asc"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>è <abbr title="Pretty Good Privacy" xml:lang="en">PGP</abbr> <20><>Կ<EFBFBD><D4BF></a></p></li>
</ul>
<h2><EFBFBD><EFBFBD>װ</h2>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.10 <20><>ǰ<EFBFBD>İ汾<C4B0><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog.pl</samp> 3.02 <20><>ǰ<EFBFBD>İ汾<C4B0><E6B1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">UPGRADE.zh-cn</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD></p>
<h3><EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/" hreflang="en" xml:lang="en"><samp>ExtUtils::MakeMaker</samp></a> <20><>װ</h3>
<p><samp xml:lang="en">reslog</samp> <20><> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><>׼<EFBFBD><D7BC> <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/" hreflang="en" xml:lang="en"><samp>ExtUtils::MakeMaker</samp></a> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD></p>
<blockquote xml:lang="en"><pre>
% perl Makefile.PL
% make
% make test
% make install
</pre></blockquote>
<p><EFBFBD><EFBFBD> <q xml:lang="en"><samp>make install</samp></q> ǰ<><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڰ<EFBFBD>װĿ¼<C4BF><EFBFBD><E6B5B5>Ȩ<EFBFBD>ޡ<EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ҫ<EFBFBD>л<EFBFBD>Ϊ <samp xml:lang="en">root</samp> <20><><EFBFBD><EFBFBD><EFBFBD>ܰ<EFBFBD>װ<EFBFBD><EFBFBD><E6B5B5></p>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20>µ<EFBFBD> <span xml:lang="en">ActivePerl</span> <20><> <samp xml:lang="en">make</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">nmake</samp> <20><> <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe" type="application/x-dosexec"><samp xml:lang="en">nmake</samp> <20><><EFBFBD><EFBFBD>΢<EFBFBD><CEA2><EFBFBD><EFBFBD> <abbr title="File Transfer Protocol" xml:lang="en">FTP</abbr> վ<><D5BE><EFBFBD><EFBFBD></a><EFBFBD><EFBFBD></p>
<p><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>װ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ط<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">PREFIX</samp> <20><><EFBFBD><EFBFBD><EFBFBD>һ<E7A3AC><D2BB>ʹ<EFBFBD><CAB9><EFBFBD>ߣ<EFBFBD>Ҫ<EFBFBD><D2AA>װ<EFBFBD><D7B0><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD>Ŀ¼<C4BF><C2BC>ʱ<EFBFBD><CAB1></p>
<blockquote xml:lang="en"><pre>
% perl Makefile.PL PREFIX=/home/jessica
</pre></blockquote>
<p>Ҫ֪<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>లװѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD>ڣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/" hreflang="en" xml:lang="en"><samp>ExtUtils::MakeMaker</samp></a> <20><>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>perldoc ExtUtils::MakeMaker</samp></q> <20><><EFBFBD><EFBFBD></p>
<h3><EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/Module-Build/" hreflang="en" xml:lang="en"><samp>Module::Build</samp></a> <20><>װ</h3>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϲ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/Module-Build/" hreflang="en" xml:lang="en"><samp>Module::Build</samp></a> <20><>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD></p>
<blockquote xml:lang="en"><pre>
% perl Build.PL
% ./Build
% ./Build test
% ./Build install
</pre></blockquote>
<p><EFBFBD><EFBFBD> <q xml:lang="en"><samp>./Build install</samp></q> ǰ<><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڰ<EFBFBD>װĿ¼<C4BF><EFBFBD><E6B5B5>Ȩ<EFBFBD>ޡ<EFBFBD>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ҫ<EFBFBD>л<EFBFBD>Ϊ <samp xml:lang="en">root</samp> <20><><EFBFBD><EFBFBD><EFBFBD>ܰ<EFBFBD>װ<EFBFBD><EFBFBD><E6B5B5></p>
<p><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>װ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ط<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">--prefix</samp> <20><><EFBFBD><EFBFBD><EFBFBD>һ<E7A3AC><D2BB>ʹ<EFBFBD><CAB9><EFBFBD>ߣ<EFBFBD>Ҫ<EFBFBD><D2AA>װ<EFBFBD><D7B0><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD>Ŀ¼<C4BF><C2BC>ʱ<EFBFBD><CAB1></p>
<blockquote xml:lang="en"><pre>
% perl Build.PL --prefix=/home/jessica
</pre></blockquote>
<p>Ҫ֪<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>లװѡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD>ڣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/Module-Build/" hreflang="en" xml:lang="en"><samp>Module::Build</samp></a> <20><>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><D6B4> <q xml:lang="en"><samp>perldoc Module::Build</samp></q> <20><><EFBFBD><EFBFBD></p>
<h2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><EFBFBD><EFBFBD></h2>
<pre>
./reslog [<5B><><EFBFBD><EFBFBD>] [<5B><>¼<EFBFBD><C2BC>&hellip;]
./reslog [-h|-v]
</pre>
<dl>
<dt xml:lang="en"><var xml:lang="zh-cn"><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD></var></dt>
<dd>
<p>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬʱָ<EFBFBD><EFBFBD><EFBFBD>ü<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӱ<EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><q><samp>-</samp></q><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӱ<EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӱ<EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD>ļ<EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧Ԯ <samp xml:lang="en">gzip</samp> <20><> <samp xml:lang="en">bzip2</samp> ѹ<><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD></p>
</dd>
<dt xml:lang="en">-o, --override <var xml:lang="zh-cn">ģʽ</var></dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD><EFBFBD>ķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ô<EFBFBD>졣Ŀǰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<EFBFBD><EFBFBD></p>
<dl>
<dt xml:lang="en">o, overwrite</dt>
<dd>
<p><EFBFBD>ǵ<EFBFBD><EFBFBD>ɵ<EFBFBD><EFBFBD><EFBFBD></p>
</dd>
<dt xml:lang="en">a, append</dt>
<dd>
<p><EFBFBD>;ɵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD></p>
</dd>
<dt xml:lang="en">f, fail</dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><EFBFBD><EFBFBD>ƻ<EFBFBD><EFBFBD>ɵ<EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD>ǽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD></p>
</dd>
</dl>
</dd>
<dt xml:lang="en">-k, --keep <var xml:lang="zh-cn">ģʽ</var></dt>
<dd>
<p>ԭ<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>ô<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀǰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ<EFBFBD><EFBFBD></p>
<dl>
<dt xml:lang="en">a, all</dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><EFBFBD><EFBFBD><EFBFBD></p>
</dd>
<dt xml:lang="en">r, restart</dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></p>
</dd>
<dt xml:lang="en">d, delete</dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD>ԭ<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD>ԭ<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD></p>
</dd>
</dl>
</dd>
<dt xml:lang="en">-s, --suffix <var xml:lang="zh-cn"><EFBFBD><EFBFBD>β</var></dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD>ϵĵ<EFBFBD>β<EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD>β<EFBFBD><EFBFBD> <q xml:lang="en"><samp>.resolved</samp></q> <20><></p>
</dd>
<dt xml:lang="en">-t, --trim-suffix <var xml:lang="zh-cn"><EFBFBD><EFBFBD>β</var></dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǵĵ<EFBFBD>βǰ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD>Dz<EFBFBD>ȥ<EFBFBD><EFBFBD>β<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>úü<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD>ȥ<EFBFBD><EFBFBD>֮ǰ<EFBFBD><EFBFBD>ʽ<EFBFBD>ӵĵ<EFBFBD>β<EFBFBD><EFBFBD></p>
</dd>
<dt xml:lang="en">-n, --num-threads <var xml:lang="zh-cn"><EFBFBD>߳<EFBFBD><EFBFBD><EFBFBD></var></dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>ͬʱִ<EFBFBD>е<EFBFBD><EFBFBD>߳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD> 10 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>ö<EFBFBD><C3B6>̷߳<DFB3><CCB7><EFBFBD><E9A3AC><EFBFBD><EFBFBD>Ϊ 0 <20><>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>Ҫ֧Ԯ<D6A7><D4AE><EFBFBD>̡߳<DFB3><CCA1><EFBFBD>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧Ԯ<D6A7><D4AE><EFBFBD>̣߳<DFB3><CCA3><EFBFBD>ѡ<EFBFBD><D1A1>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>á<EFBFBD></p>
</dd>
<dt xml:lang="en">-c, --stdout</dt>
<dd>
<p><EFBFBD>ѽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></p>
</dd>
<dt xml:lang="en">-d, --debug</dt>
<dd>
<p><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>ϸ<EFBFBD><EFBFBD>ִ<EFBFBD>й<EFBFBD><EFBFBD>̡<EFBFBD></p>
</dd>
<dt xml:lang="en">-q, --quiet</dt>
<dd>
<p>û<EFBFBD>²<EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> :p</p>
</dd>
<dt xml:lang="en">-h, --help</dt>
<dd>
<p><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>ʽ˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD></p>
</dd>
<dt xml:lang="en">-v, --version</dt>
<dd>
<p><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD></p>
</dd>
</dl>
<h2><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD></h2>
<p><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> &copy; 2001-2007 <20><><EFBFBD><EFBFBD>è<EFBFBD><C3A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>è<EFBFBD><C3A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD></p>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">(Free Software Foundation)</span> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <cite><acronym title="GNU&rsquo;s Not UNIX" xml:lang="en">GNU</acronym> ͨ<>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤</cite><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">(<cite><acronym title="GNU&rsquo;s Not UNIX">GNU</acronym> General Public License</cite>)</span> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸ĺ<DEB8><C4BA><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>ʹ<EFBFBD><CAB9><EFBFBD>κθ<CEBA><CEB8>µİ汾<C4B0><E6B1BE></p>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>κε<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><EFBFBD><EFBFBD>ʺ<EFBFBD><EFBFBD>ض<EFBFBD>Ŀ<EFBFBD>Ķ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <cite><acronym title="GNU&rsquo;s Not UNIX" xml:lang="en">GNU</acronym> ͨ<>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤</cite><EFBFBD><EFBFBD></p>
<p><EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD>Ѿ<EFBFBD><EFBFBD>ͳ<EFBFBD>ʽһ<EFBFBD><EFBFBD><EFBFBD>յ<EFBFBD>һ<EFBFBD><EFBFBD> <cite><acronym title="GNU&rsquo;s Not UNIX" xml:lang="en">GNU</acronym> ͨ<>ù<EFBFBD><C3B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤</cite><EFBFBD>ĸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>У<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><samp>&lt;<a href="http://www.gnu.org/licenses/" hreflang="en">http://www.gnu.org/licenses/</a>&gt;</samp><EFBFBD><EFBFBD></p>
<h2><EFBFBD><EFBFBD><EFBFBD>¼</h2>
<p><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD> <samp xml:lang="en">NEWS</samp> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9BFB4>ʽ<EFBFBD><CABD><EFBFBD>ݱ䡢<DDB1><E4A1A2><EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><C4B9>ܺ<EFBFBD><DCBA>޲<EFBFBD><DEB2>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD></p>
<h2>֧ԮЭ<EFBFBD><EFBFBD></h2>
<p><samp xml:lang="en">reslog</samp> <20><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD> <a href="https://sourceforge.net/" hreflang="en" xml:lang="en">SourceForge</a> <20><> <a href="http://www.cpan.org/" hreflang="en" xml:lang="en"><acronym title="Comprehensive Perl Archive Network">CPAN</acronym></a> <20><> <a href="http://www.imacat.idv.tw/"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>٣<EFBFBD></p>
<ul>
<li><p><a href="http://reslog.sourceforge.net/"><span xml:lang="en">SourceForge</span> <20>ϵ<EFBFBD> <samp xml:lang="en">reslog</samp> <20><>վ</a><EFBFBD><EFBFBD></p></li>
<li><p><a href="http://sourceforge.net/projects/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <span xml:lang="en">SourceForge</span> ר<><D7A8>ҳ</a><EFBFBD><EFBFBD></p></li>
<li><p><a href="http://search.cpan.org/dist/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <abbr title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</abbr> ר<><D7A8>ҳ</a><EFBFBD><EFBFBD></p></li>
<li><p><a href="http://www.imacat.idv.tw/tech/reslog.html"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20><>ҳ</a><EFBFBD><EFBFBD></p></li>
</ul>
<p><EFBFBD><EFBFBD> <a href="https://sourceforge.net/" hreflang="en" xml:lang="en">SourceForge</a> <20><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB> <a href="mailto:reslog-users&#64;lists.sourceforge.net"><samp xml:lang="en">reslog</samp> <20><><EFBFBD>ʼ<EFBFBD>ͨѶ</a> <20><>ʹ<EFBFBD><CAB9><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><E2A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ر<EFBFBD><D8B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ᵽͨѶ<CDA8><D1B6><EFBFBD><EFBFBD><EFBFBD>ۡ<EFBFBD><DBA1><EFBFBD><EFBFBD><EFBFBD> <a href="http://www.list.org/" hreflang="en" xml:lang="en">Mailman</a> <20><><EFBFBD>ʼ<EFBFBD>ͨѶ<CDA8><D1B6><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><a href="https://lists.sourceforge.net/lists/listinfo/reslog-users" hreflang="en"><samp xml:lang="en">reslog</samp> <20>ʼ<EFBFBD>ͨѶ<CDA8><D1B6><EFBFBD><EFBFBD>ҳ</a> <20><><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD>д<EFBFBD>ŵ<EFBFBD> <a href="mailto:reslog-users-request&#64;lists.sourceforge.net"><acronym title="electronic mail" xml:lang="en">E-mail</acronym> ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">help</samp> <20><><EFBFBD><EFBFBD>ȡ <acronym title="electronic mail" xml:lang="en">E-mail</acronym> ָ<><D6B8>˵<EFBFBD><CBB5><EFBFBD><EFBFBD></p>
</div>
<hr />
<div id="footer" class="footer" title="ҳβ<D2B3><CEB2>">
<address><a href="mailto:imacat&#64;mail.imacat.idv.tw"><EFBFBD><EFBFBD><EFBFBD><EFBFBD>è</a><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2001-07-04 <20><><EFBFBD>ϴθ<CFB4><CEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2008-11-15</address>
<address><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> &copy; 2003-2008 <20><><EFBFBD><EFBFBD>è<EFBFBD><C3A8><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD><a href="fdl.txt"><EFBFBD><EFBFBD>Ȩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></address>
</div>
</body>
</html>

521
reslog.zh-tw.html Normal file
View File

@ -0,0 +1,521 @@
<?xml version="1.0" encoding="Big5" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-tw">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=Big5" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="author" content="<22>̺<EFBFBD><CCBA><EFBFBD>" />
<meta name="copyright" content="&copy; 2001-2008 <20>̺<EFBFBD><CCBA>ߡC" />
<meta name="keywords" content="DNS <20>Ϭd, HostNameLookups, Apache, Analog, <20>O<EFBFBD><4F><EFBFBD><EFBFBD>" />
<link rel="alternate" type="application/xhtml+xml" href="reslog.zh-cn.html"
hreflang="zh-cn" title="&#31616;<3B>^<5E><><EFBFBD><EFBFBD>" />
<link rel="alternate" type="application/xhtml+xml" href="reslog.en.html"
hreflang="en-us" title="English" />
<link rel="copyright" type="text/plain" href="fdl.txt" />
<link rel="author" href="mailto:imacat&#64;mail.imacat.idv.tw" />
<style type="text/css">
h2, em {
text-transform: uppercase;
}
.accessguide {
font-size: 0.5em;
float: left;
width: 0.5em;
}
q {
quotes: "<22>u" "<22>v" "<22>y" "<22>z";
}
q:lang(en) {
quotes: "\201C" "\201D" "\2018" "\2019";
}
</style>
<title>reslog 3.16 <20><></title>
</head>
<body>
<div class="langs" title="<22>y<EFBFBD><79><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
<span><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span> |
<span xml:lang="zh-cn"><a href="reslog.zh-cn.html"
title="<22><>&#25442;<3B>쥻&#39029;<3B><>&#31616;<3B>^<5E><><EFBFBD><EFBFBD>C"
hreflang="zh-cn">&#31616;<EFBFBD>^<5E><><EFBFBD><EFBFBD></a></span> |
<span xml:lang="en"><a href="reslog.en.html"
title="Switch to the English version of this page."
hreflang="en-us">English</a></span>
</div>
<hr />
<div id="body" class="body" title="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
<div class="accessguide"><a accesskey="C"
href="#body" title="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">:::</a></div>
<h1><samp xml:lang="en">reslog</samp> 3.16 <20><></h1>
<h2><EFBFBD>̷s<EFBFBD><EFBFBD><EFBFBD><EFBFBD></h2>
<dl>
<dt>2007-12-04</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.16 <20>C<EFBFBD>s<EFBFBD><73><EFBFBD>ץ<EFBFBD> <a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en" xml:lang="en"><samp>Compress::Bzip2</samp></a> <20>s<EFBFBD>@<40><><EFBFBD><EFBFBD><EFBFBD>ɩҲ<C9A9><D2B2>ͪ<EFBFBD><CDAA><EFBFBD><EFBFBD>D<EFBFBD>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.16.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.16 <20><></a><EFBFBD>C</p>
</dd>
<dt>2007-12-03</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.15 <20>C<EFBFBD>ץ<EFBFBD> <samp xml:lang="en">Makefile.PL</samp> <20>w<EFBFBD>˩һݳ̧C <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>~<7E>C<EFBFBD>Y<EFBFBD>p<EFBFBD><70><EFBFBD>e<EFBFBD>w<EFBFBD>ˤF <samp xml:lang="en">reslog</samp> 3.13 <20><><EFBFBD>Τ<EFBFBD><CEA4><EFBFBD><E1AABA><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD>ݭn<DDAD>@<40>ŷs<C5B7><73><EFBFBD>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.15.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.15 <20><></a><EFBFBD>C</p>
</dd>
<dt>2007-12-03</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.14 <20>C<EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>n<EFBFBD>X<EFBFBD>ӻ<EFBFBD><D3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD>յ{<7B><><EFBFBD>ץ<EFBFBD><D7A5>C<EFBFBD>Y<EFBFBD>p<EFBFBD><70><EFBFBD>e<EFBFBD>w<EFBFBD>ˤF <samp xml:lang="en">reslog</samp> 3.13 <20><><EFBFBD>A<EFBFBD><41><EFBFBD>ݭn<DDAD>@<40>ŷs<C5B7><73><EFBFBD>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.14.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.14 <20><></a><EFBFBD>C</p>
</dd>
<dt>2007-12-03</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.13 <20>C<EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>ܦh<DCA6>{<7B><><EFBFBD>X<EFBFBD><58><EFBFBD>i<EFBFBD>B<EFBFBD><42><EFBFBD>~<7E>ץ<EFBFBD><D7A5>B<EFBFBD><42><EFBFBD>յ{<7B><><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.13.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.13 <20><></a><EFBFBD>C</p>
</dd>
<dt>2007-07-23</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.12 <20>C<EFBFBD>ץ<EFBFBD><D7A5>L <abbr title="internet protocol" xml:lang="en">IP</abbr> <20>ϸѮɪ<D1AE><C9AA><EFBFBD><EFBFBD>~<7E>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.12.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.12 <20><></a><EFBFBD>C</p>
</dd>
<dt>2007-07-23</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.11 <20>C<EFBFBD>ץ<EFBFBD><D7A5>b<EFBFBD>L<EFBFBD>u<EFBFBD>{ <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20>W<EFBFBD><57><EFBFBD><EFBFBD><E6AABA><EFBFBD>D<EFBFBD>A<EFBFBD>H <samp xml:lang="en">file</samp> <20>{<7B><><EFBFBD>ˬd<CBAC>зǿ<D0B7><C7BF>J<EFBFBD>ɮ<EFBFBD><C9AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>A<EFBFBD>ץ<EFBFBD><D7A5>w<EFBFBD><77><EFBFBD>ɮצ<C9AE><D7A6>m<EFBFBD>H<EFBFBD>ŦX <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20>зǦw<C7A6>˳]<5D>w<EFBFBD>A<EFBFBD>å[<5B>W<EFBFBD><EFBFBD><E4B4A9> <a href="http://search.cpan.org/dist/Module-Build/" hreflang="en" xml:lang="en"><samp>Module::Build</samp></a> <20>w<EFBFBD>ˡC<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.11.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.11 <20><></a><EFBFBD>C</p>
</dd>
<dt>2007-07-22</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.10 <20>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.10.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.10 <20><></a><EFBFBD>C</p>
</dd>
<dt>2007-07-21</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.09 <20>C<EFBFBD><43><EFBFBD>v<EFBFBD><76><EFBFBD>s<EFBFBD><73> <a href="http://www.gnu.org/licenses/gpl-3.0.html" hreflang="en" xml:lang="en"><abbr title="GNU General Public License version 3" xml:lang="en">GPLv3</abbr></a> <20>A<EFBFBD>Φh<CEA6><68><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>ץ<EFBFBD><D7A5>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.09.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.09 <20><></a><EFBFBD>C</p>
</dd>
<dt>2005-05-22</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.08 <20>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.08.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.08 <20><></a><EFBFBD>C</p>
</dd>
<dt>2005-05-22</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.07 <20>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>{<7B><><EFBFBD>X<EFBFBD>A<EFBFBD>H<EFBFBD>K<EFBFBD>b<EFBFBD><62><EFBFBD>h<EFBFBD><68><EFBFBD>x<EFBFBD>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>ثe<D8AB>i<EFBFBD>b<EFBFBD>U<EFBFBD>C<EFBFBD><43><EFBFBD>x<EFBFBD>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD>G <a href="http://www.linux.org/" hreflang="en" xml:lang="en">Linux</a> <20>B <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20>B <a href="http://www.cygwin.com/" hreflang="en" xml:lang="en">Cygwin</a> <20>B <a href="http://www.sun.com/software/solaris/" hreflang="en" xml:lang="en">Solaris</a> <20>B <a href="http://www.freebsd.org/" hreflang="en" xml:lang="en">FreeBSD</a> <20>P <a href="http://developer.apple.com/opensource/" hreflang="en" xml:lang="en">MacOSX Darwin</a> <20>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.07.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.07 <20><></a><EFBFBD>C</p>
</dd>
<dt>2005-05-16</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.06 <20>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>յ{<7B><><EFBFBD>A<EFBFBD>H<EFBFBD>ϴ<EFBFBD><CFB4>յ<EFBFBD><D5B5>G<EFBFBD>󥿽T<F3A5BFBD>B<EFBFBD><42><EFBFBD>ġC<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.06.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.06 <20><></a><EFBFBD>C</p>
</dd>
<dt>2005-05-08</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.05 <20>C<EFBFBD>ץ<EFBFBD><D7A5>зǿ<D0B7><C7BF>J<EFBFBD><4A><EFBFBD>i<EFBFBD>ήɷ|<7C><><EFBFBD>Ϳ<EFBFBD><CDBF>~<7E><><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.05.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.05 <20><></a><EFBFBD>C</p>
</dd>
<dt>2005-05-08</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.04 <20>C<EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>J <a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a> <20>ɪ<EFBFBD><C9AA>O<EFBFBD>r<EFBFBD>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.04.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.04 <20><></a><EFBFBD>C</p>
</dd>
<dt>2005-05-08</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.03 <20>C<EFBFBD>w<EFBFBD>]<5D>w<EFBFBD>˥ؿ<CBA5><D8BF><EFBFBD><EFBFBD>^<5E><> <samp xml:lang="en">/sbin</samp> <20>A<EFBFBD>[<5B>W <q xml:lang="en"><samp>make upgrade</samp></q> <20>H<EFBFBD>R<EFBFBD><52><EFBFBD>ª<EFBFBD><C2AA>ɮסA<D7A1>øѨM<D1A8>F<EFBFBD><46><EFBFBD>e<EFBFBD>ɮ<EFBFBD><C9AE><EFBFBD><EFBFBD>w<EFBFBD><77><EFBFBD>k<EFBFBD><6B><EFBFBD>@<40><><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.03.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.03 <20><></a><EFBFBD>C</p>
</dd>
<dt>2005-05-02</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.02 <20>C<EFBFBD>Ϭd<CFAC>{<7B><><EFBFBD>{<7B>b<EFBFBD>P<EFBFBD>D<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>ۿW<DBBF>ߡA<DFA1>b <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20>P <a href="http://www.cygwin.com/" hreflang="en" xml:lang="en">Cygwin</a> <20>W<EFBFBD><57><EFBFBD>հ<EFBFBD><D5B0><EFBFBD><EFBFBD>L<EFBFBD>~<7E>A<EFBFBD>øѨM<D1A8>F<EFBFBD>n<EFBFBD>X<EFBFBD>Ӥp<D3A4><70><EFBFBD>D<EFBFBD>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.02.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.02 <20><></a><EFBFBD>C</p>
</dd>
<dt>2005-04-26</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.01 <20>C<EFBFBD>ץ<EFBFBD><D7A5>F<EFBFBD>@<40><><EFBFBD>Y<EFBFBD><59><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>~<7E>A<EFBFBD><41><EFBFBD><EFBFBD> <samp xml:lang="en">--suffix</samp> <20>P <samp xml:lang="en">--trim-suffix</samp> <20>B<EFBFBD>z<EFBFBD>F<EFBFBD><46><EFBFBD>~<7E><><EFBFBD>ɧ<EFBFBD><C9A7>C<EFBFBD>Y<EFBFBD>p<EFBFBD>U<EFBFBD><55><EFBFBD>w<EFBFBD>ˤF 3.01 <20><><EFBFBD>A<EFBFBD>ХߧY<DFA7>@<40>ŧ<EFBFBD><C5A7>s<EFBFBD>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.01.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.01 <20><></a><EFBFBD>C</p>
</dd>
<dt>2005-04-26</dt>
<dd>
<p><samp xml:lang="en">reslog</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 3.00 <20>C<EFBFBD>ڥΪ<DAA5><CEAA><EFBFBD><EFBFBD>ɦV<C9A6>Ҧ<EFBFBD><D2A6>A<EFBFBD>q<EFBFBD>Y<EFBFBD><59><EFBFBD>g<EFBFBD>C<EFBFBD>s<EFBFBD>[<5B>W <span xml:lang="en">ithreads</span> <20>h<EFBFBD>u<EFBFBD>{<7B>\<5C><><EFBFBD>A<EFBFBD>j<EFBFBD>T<EFBFBD>[<5B>ְ<EFBFBD><D6B0><EFBFBD><EFBFBD>t<EFBFBD>סC<D7A1><samp xml:lang="en">bzip2</samp> <20><><EFBFBD>Y<EFBFBD>ɡC<C9A1><EFBFBD><E4B4A9> <samp xml:lang="en">gzip</samp> <20><> <samp xml:lang="en">bzip2</samp> <20>{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Y<EFBFBD>A<EFBFBD><41><EFBFBD>ݦw<DDA6><77> <a href="http://search.cpan.org/dist/Compress-Zlib/" hreflang="en" xml:lang="en"><samp>Compress::Zlib</samp></a> <20>M <a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en" xml:lang="en"><samp>Compress::Bzip2</samp></a> <20>Ҳա]<5D><><EFBFBD><EFBFBD>ij<EFBFBD>ϥΡ^<5E>C<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Y<EFBFBD><59><EFBFBD>ɧ<EFBFBD><C9A7>A<EFBFBD>A<EFBFBD>[<5B>W<EFBFBD>ڭ̪<DAAD><CCAA>ɧ<EFBFBD><C9A7>A<EFBFBD>H<EFBFBD>K<EFBFBD>M<EFBFBD><4D><EFBFBD>L<EFBFBD>O<EFBFBD><4F><EFBFBD>ɳB<C9B3>z<EFBFBD>{<7B><><EFBFBD>@<40>_<EFBFBD>@<40>~<7E>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog-3.00.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.00 <20><></a><EFBFBD>C</p>
</dd>
<dt>2002-09-18</dt>
<dd>
<p><samp xml:lang="en">reslog.pl</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 2.1.0dev2 <20>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5>F<EFBFBD>X<EFBFBD>ӻ<EFBFBD><D3BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>󪺿<EFBFBD><F3AABABF>~<7E>A<EFBFBD>ç<EFBFBD> <a href="http://sourceforge.net/" hreflang="en" xml:lang="en">SourceForge</a> <20>[<5B>i <samp xml:lang="en">reslog.pl</samp> <20><><EFBFBD>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>}<7D><><EFBFBD>C<EFBFBD>p<EFBFBD>i<EFBFBD>H<EFBFBD><EFBFBD><E2A5A6><EFBFBD><EFBFBD><q><span xml:lang="en">SourceForge</span> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></q><EFBFBD>C<EFBFBD><EFBFBD><EFBFBD>h<EFBFBD>W<EFBFBD>A<EFBFBD><EFBFBD><EFBFBD>ݭn<EFBFBD><EFBFBD><EFBFBD>۪@<40>šC<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog.pl-2.1.0dev2.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog.pl</samp> 2.1.0dev2 <20><></a><EFBFBD>C</p>
</dd>
<dt>2002-09-17</dt>
<dd>
<p><EFBFBD>n<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I <samp xml:lang="en">reslog.pl</samp> <20>w<EFBFBD>}<7D>l<EFBFBD>[<5B>]<5D><> <a href="http://sourceforge.net/projects/reslog/" hreflang="en" xml:lang="en">SourceForge</a> <20>o<EFBFBD>I<EFBFBD>]<5D><><EFBFBD>M<EFBFBD>ڴX<DAB4>G<EFBFBD>٧<EFBFBD><D9A7><EFBFBD><EFBFBD>d<EFBFBD><64><EFBFBD>M<EFBFBD><4D><EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>[&hellip;<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD><EFBFBD>&hellip; ^^; <20>^</p>
</dd>
<dt>2002-08-31</dt>
<dd>
<p><samp xml:lang="en">reslog.pl</samp> <20>̷s<CCB7><73><EFBFBD><EFBFBD> 2.1.0dev1 <20>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5>F<EFBFBD>L<EFBFBD>k<EFBFBD>b <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> 5.8.0 <20><><EFBFBD><EFBFBD><E6AABA><EFBFBD>~<7E>C<EFBFBD>ڼȮ<DABC><C8AE>٧<EFBFBD><D9A7>o<EFBFBD><6F><EFBFBD><EFBFBD><EFBFBD>O <q xml:lang="en"><abbr title="development">dev</abbr></q> <20><><EFBFBD>o<EFBFBD><6F><EFBFBD>A<EFBFBD>]<5D><><EFBFBD>ڷQ<DAB7>b 2.1.0 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɭԡA<D4A1><a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en" xml:lang="en"><samp>Compress::Bzip2</samp></a> <20>P <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/" hreflang="en" xml:lang="en"><samp>ExtUtils::MakeMaker</samp></a> <20>C<EFBFBD><43><EFBFBD>L<EFBFBD>o<EFBFBD><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>í<EFBFBD>w<EFBFBD>C<a href="ftp://ftp.imacat.idv.tw/pub/reslog/reslog.pl-2.1.0dev1.tar.gz" type="application/x-gzip"><EFBFBD>U<EFBFBD><EFBFBD> <samp xml:lang="en">reslog.pl</samp> 2.1.0dev2 <20><></a><EFBFBD>C</p>
</dd>
</dl>
<h2><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h2>
<p><dfn xml:lang="en"><samp>reslog</samp></dfn> <20>O<EFBFBD>O<EFBFBD><4F><EFBFBD>ɪ<EFBFBD><C9AA>Ϭd<CFAC>{<7B><><EFBFBD>A<EFBFBD>ΨӤϬd <a href="http://httpd.apache.org/" hreflang="en" xml:lang="en">Apache</a> <20>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <abbr title="internet protocol" xml:lang="en">IP</abbr> <20><><EFBFBD>D<EFBFBD><44><EFBFBD>W<EFBFBD>١C<D9A1>d<EFBFBD>L<EFBFBD><4C><EFBFBD>A<EFBFBD>i<EFBFBD>H<EFBFBD>M<EFBFBD>ι<EFBFBD> <a href="http://analog.cx/" hreflang="en" xml:lang="en">Analog</a> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><4F><EFBFBD>ɲέp<CEAD>{<7B><><EFBFBD>C<EFBFBD>p<EFBFBD>i<EFBFBD>H<EFBFBD><EFBFBD><E2A5A6><EFBFBD><EFBFBD> <span xml:lang="en">Apache</span> <samp xml:lang="en">HostNameLookups</samp> <20><><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>N<EFBFBD>~<7E>A<EFBFBD>C<EFBFBD>Ѥ@<40><><EFBFBD>Ϭd<CFAC><64><EFBFBD>ѩҦ<D1A9><D2A6><EFBFBD> <abbr title="internet protocol" xml:lang="en">IP</abbr> <20>C</p>
<h2><EFBFBD>`<60>N<EFBFBD>ƶ<EFBFBD></h2>
<ul>
<li><p><EFBFBD>Ϭd<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><EFBFBD><em><EFBFBD>ܯӮɶ<EFBFBD></em><EFBFBD>C<EFBFBD>ɶ<EFBFBD><EFBFBD>D<EFBFBD>n<EFBFBD>Ӧb<EFBFBD>d<EFBFBD>ߤW<EFBFBD>G<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD>o<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʥ]<5D>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>٦<EFBFBD><D9A6>A<EFBFBD><41><EFBFBD>]<5D><><EFBFBD>B<EFBFBD>S<EFBFBD><53><EFBFBD>}<7D><><EFBFBD>B<EFBFBD><42><EFBFBD>b<EFBFBD>C<EFBFBD>t<EFBFBD><74><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>B<EFBFBD><42><EFBFBD>ŤӧC<D3A7><43><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD>&hellip;<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>o<EFBFBD>ǥ~<7E><><EFBFBD>]<5D><><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</p></li>
<li><p><EFBFBD>Y<EFBFBD>{<7B><><EFBFBD>b<EFBFBD>~<7E><><EFBFBD>_<EFBFBD>A<EFBFBD>p<EFBFBD><70><EFBFBD>F <span xml:lang="en">Ctrl-Break</span> <20>A<EFBFBD>i<EFBFBD><69><EFBFBD>|<7C>ݾl<DDBE>@<40>ӼȮɤu<C9A4>@<40>ɡC<C9A1>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɸI<C9B8><49><EFBFBD>ݦs<DDA6><73><EFBFBD>Ȯɤu<C9A4>@<40>ɡA<C9A1>{<7B><><EFBFBD>|<7C>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>C<EFBFBD>Х<EFBFBD><D0A5>B<EFBFBD>z<EFBFBD>ݦs<DDA6><73><EFBFBD>Ȯɤu<C9A4>@<40>ɡC<C9A1>p<EFBFBD>i<EFBFBD>H<EFBFBD><48><EFBFBD>Ȯɤu<C9A4>@<40>ɷ<EFBFBD><C9B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӫ<EFBFBD><D3AA>O<EFBFBD><4F><EFBFBD>ɨӥΡA<CEA1><41><EFBFBD>s<EFBFBD>Ϭd<CFAC>C</p></li>
<li><p><EFBFBD><EFBFBD><EFBFBD>{<7B><><EFBFBD>ݭn<DDAD>ܦh<DCA6>Ȧs<C8A6><73><EFBFBD>ƪ<EFBFBD><C6AA>Ŷ<EFBFBD><C5B6>C<EFBFBD>w<EFBFBD>ЩM<D0A9>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD>ӡA<D3A1><41><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>y<EFBFBD>A<EFBFBD>ΰ_<CEB0>Ӥ]<5D><><EFBFBD><EFBFBD><EFBFBD>١A<D9A1>ҥH<D2A5>ڥεw<CEB5>мȦs<C8A6>C<EFBFBD>o<EFBFBD>ӵ{<7B><><EFBFBD>ݭn<DDAD><6E><EFBFBD>O<EFBFBD><4F><EFBFBD>ɸ<EFBFBD><C9B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⭿<EFBFBD>H<EFBFBD>W<EFBFBD><57><EFBFBD>w<EFBFBD>ЪŶ<D0AA><C5B6>A<EFBFBD>~<7E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]<5D>ΰO<CEB0><4F><EFBFBD><EFBFBD><EFBFBD>Ȧs<C8A6><73><EFBFBD>ܭn<DCAD>ΤQ<CEA4><51><EFBFBD>^<5E>C<EFBFBD><43><EFBFBD>ˬd<CBAC>w<EFBFBD>ЪŶ<D0AA><C5B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</p></li>
<li><p><samp xml:lang="en">reslog</samp> <20>|<7C><><EFBFBD><abbr title="internet protocol version 6" xml:lang="en">IPv6</abbr> <20>C</p></li>
<li><p><EFBFBD>ګ<EFBFBD>ij<EFBFBD>w<EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a> <20>A<EFBFBD><41><EFBFBD>q<EFBFBD><71><EFBFBD>n<EFBFBD><6E> <samp xml:lang="en">file</samp> <20>{<7B><><EFBFBD>C <a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a> <20><><EFBFBD>ت<EFBFBD><D8AA>ɮ<EFBFBD><C9AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD> <samp xml:lang="en">file</samp> <20>{<7B><><EFBFBD>ǽT<C7BD>C<EFBFBD>Y<EFBFBD><59><EFBFBD>O <samp xml:lang="en">gzip</samp> <20><> <samp xml:lang="en">bzip2</samp> <20><><EFBFBD>Y<EFBFBD>ɡA <samp xml:lang="en">reslog</samp> <20>|<7C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¤<EFBFBD><C2A4>r<EFBFBD>ɡC<C9A1>Y<EFBFBD><59><EFBFBD>Y<EFBFBD>ɳQ<C9B3>~<7E>P<EFBFBD><50><EFBFBD><EFBFBD><EFBFBD>ɡA <samp xml:lang="en">reslog</samp> <20>|<7C><><EFBFBD><EFBFBD><EFBFBD>¤<EFBFBD><C2A4>r<EFBFBD>ɡA<C9A1><41><EFBFBD><EFBFBD>Ū<EFBFBD>O<EFBFBD><4F><EFBFBD>A<EFBFBD>åH<C3A5><48><EFBFBD>~<7E><><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD>~<7E>]<5D><><EFBFBD>|<7C>˶í<CBB6><C3AD>O<EFBFBD><4F><EFBFBD>ɡA<C9A1><41><EFBFBD>L<EFBFBD>h<EFBFBD>֦<EFBFBD><D6A6>I<EFBFBD>·СC</p></li>
</ul>
<h2><EFBFBD>t<EFBFBD>λݨD</h2>
<ol>
<li><p><acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> 5.8.0 <20>H<EFBFBD>W<EFBFBD>C <samp xml:lang="en">reslog</samp> <20>ΤT<CEA4>ӰѼƪ<D1BC> <samp xml:lang="en">open()</samp> <20>ӽƻs<C6BB>ɮ׾ާ@<40>A<EFBFBD><41><EFBFBD>٤<EFBFBD><D9A4><EFBFBD><EFBFBD>D<EFBFBD><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD><67><EFBFBD>󦭪<EFBFBD><F3A6ADAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>Y<EFBFBD>p<EFBFBD>i<EFBFBD>H<EFBFBD><48><EFBFBD>g<EFBFBD><67><EFBFBD>󦭪<EFBFBD><F3A6ADAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>Чi<D0A7>D<EFBFBD>ڡC<DAA1>p<EFBFBD>i<EFBFBD>H<EFBFBD><48><EFBFBD>J <q xml:lang="en"><samp>perl -v</samp></q> <20>d<EFBFBD>ߩp<DFA9>ثe<D8AB><65> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>p<EFBFBD>G<EFBFBD>p<EFBFBD>S<EFBFBD><53> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20>λݭn<DDAD>@<40>šA<C5A1>i<EFBFBD>H<EFBFBD><48> <a href="http://www.perl.com/" hreflang="en"><acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20><><EFBFBD><EFBFBD></a><EFBFBD>U<EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>˳̷s<EFBFBD><EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20>C<EFBFBD>Y<EFBFBD>p<EFBFBD>O<EFBFBD><4F> <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20>A<EFBFBD>i<EFBFBD>H<EFBFBD><48> <a href="http://www.activestate.com/" hreflang="en"><span xml:lang="en">ActiveState</span> <20><><EFBFBD>q</a><EFBFBD>U<EFBFBD><EFBFBD> <span xml:lang="en">ActivePerl</span> <20>w<EFBFBD>ˡC</p></li>
<li><p><EFBFBD>ݷf<EFBFBD>t<EFBFBD><EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20>ҲաG<D5A1>L<EFBFBD>C</p></li>
<li><p><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><EFBFBD> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20>ҲաG</p>
<dl>
<dt><a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a></dt>
<dd>
<p><EFBFBD>o<EFBFBD>O<EFBFBD>ˬd<EFBFBD>ɮ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD>C<EFBFBD>Y<EFBFBD>S<EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>ˡA <samp xml:lang="en">reslog</samp> <20>|<7C><> <samp xml:lang="en">file</samp> <20>{<7B><><EFBFBD>N<EFBFBD><4E><EFBFBD>C<EFBFBD>Y<EFBFBD>٧<D9A7><E4A4A3><EFBFBD>A <samp xml:lang="en">reslog</samp> <20>|<7C><><EFBFBD><EFBFBD><EFBFBD>ɧ<EFBFBD><C9A7>]<5D><><EFBFBD>ɦW<C9A6>^<5E>P<EFBFBD>_<EFBFBD>ɮ<EFBFBD><C9AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>o<EFBFBD>ɭY<C9AD>q<EFBFBD>зǿ<D0B7><C7BF><4A>ɡA <samp xml:lang="en">reslog</samp> <20>N<EFBFBD>L<EFBFBD>k<EFBFBD>P<EFBFBD>_<EFBFBD>F<EFBFBD>C<EFBFBD>p<EFBFBD>i<EFBFBD>H<a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en"><EFBFBD><EFBFBD> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> <20>Ҳծw<D5AE>U<EFBFBD><55><EFBFBD>w<EFBFBD><77> <samp xml:lang="en">File::MMagic</samp> </a><EFBFBD>A<EFBFBD>Υ<EFBFBD> <span xml:lang="en"><samp>CPAN</samp> Shell</span> <20><><EFBFBD><EFBFBD> <q xml:lang="en"><samp>cpan File::MMagic</samp></q> <20>w<EFBFBD>ˡA<CBA1>Υ<EFBFBD> <span xml:lang="en"><samp>CPANPLUS</samp> Shell</span> <20><><EFBFBD><EFBFBD> <q xml:lang="en"><samp>cpanp i File::MMagic</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">Debian/Ubandu Linux</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>apt-get install libfile-mmagic-perl</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">Red Hat/Fedora/CentOS Linux</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>yum install perl-File-MMagic</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">FreeBSD</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>ports install p5-File-MMagic</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">ActivePerl</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>ppm install File::MMagic</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>n<EFBFBD>b <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20>U<EFBFBD>ϥ<EFBFBD> <samp xml:lang="en">file.exe</samp> <20>{<7B><><EFBFBD>A<EFBFBD>i<EFBFBD>H<EFBFBD><48> <a href="http://gnuwin32.sourceforge.net/" hreflang="en-us"><span xml:lang="en">GnuWin32</span> <20><><EFBFBD><EFBFBD></a><EFBFBD>U<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>нT<EFBFBD>{<7B>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>s<EFBFBD>ɦb<C9A6>t<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>|<7C>U<EFBFBD>A<EFBFBD>ɦW<C9A6><57> <samp xml:lang="en">file.exe</samp> <20>C</p>
<p><EFBFBD><EFBFBD>ij<EFBFBD><EFBFBD> <a href="http://search.cpan.org/dist/File-MMagic/" hreflang="en" xml:lang="en"><samp>File::MMagic</samp></a> <20>C <samp xml:lang="en">file</samp> <20>{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>|<7C>~<7E>P<EFBFBD>C</p>
</dd>
<dt><a href="http://search.cpan.org/dist/Compress-Zlib/" hreflang="en" xml:lang="en"><samp>Compress::Zlib</samp></a></dt>
<dd>
<p><EFBFBD>o<EFBFBD>O<EFBFBD>B<EFBFBD>z <samp xml:lang="en">gzip</samp> <20><><EFBFBD>Y<EFBFBD>ɥΪ<C9A5><CEAA>A<EFBFBD>u<EFBFBD><75><EFBFBD>b<EFBFBD>B<EFBFBD>z <samp xml:lang="en">gzip</samp> <20><><EFBFBD>Y<EFBFBD>ɤ~<7E>|<7C>Ψ<EFBFBD><CEA8>C<EFBFBD>Y<EFBFBD>n<EFBFBD>ήɨS<C9A8><53><EFBFBD>w<EFBFBD>ˡA <samp xml:lang="en">reslog</samp> <20>|<7C>յۧ<D5B5><DBA7><EFBFBD> <samp xml:lang="en">gzip</samp> <20>{<7B><><EFBFBD>N<EFBFBD><4E><EFBFBD>C<EFBFBD>Y<EFBFBD>٧<D9A7><E4A4A3><EFBFBD>A <samp xml:lang="en">reslog</samp> <20>N<EFBFBD>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>p<EFBFBD>i<EFBFBD>H<a href="http://search.cpan.org/dist/Compress-Zlib/" hreflang="en"><EFBFBD><EFBFBD> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> <20>Ҳծw<D5AE>U<EFBFBD><55><EFBFBD>w<EFBFBD><77> <samp xml:lang="en">Compress::Zlib</samp> </a><EFBFBD>A<EFBFBD>Υ<EFBFBD> <span xml:lang="en"><samp>CPAN</samp> Shell</span> <20><><EFBFBD><EFBFBD> <q xml:lang="en"><samp>cpan Compress::Zlib</samp></q> <20>w<EFBFBD>ˡA<CBA1>Υ<EFBFBD> <span xml:lang="en"><samp>CPANPLUS</samp> Shell</span> <20><><EFBFBD><EFBFBD> <q xml:lang="en"><samp>cpanp i Compress::Zlib</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">Debian/Ubandu Linux</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>apt-get install libcompress-zlib-perl</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">Red Hat/Fedora/CentOS Linux</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>yum install perl-Compress-Zlib</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">FreeBSD</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>ports install p5-Compress-Zlib</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">ActivePerl</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>ppm install Compress::Zlib</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>n<EFBFBD>b <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20>U<EFBFBD>ϥ<EFBFBD> <samp xml:lang="en">gzip.exe</samp> <20>{<7B><><EFBFBD>A<EFBFBD>i<EFBFBD>H<EFBFBD><48> <a href="http://www.gzip.org/" hreflang="en"><samp xml:lang="en">gzip</samp> <20><><EFBFBD><EFBFBD></a><EFBFBD>U<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>нT<EFBFBD>{<7B>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>s<EFBFBD>ɦb<C9A6>t<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>|<7C>U<EFBFBD>A<EFBFBD>ɦW<C9A6><57> <samp xml:lang="en">gzip.exe</samp> <20>C</p>
</dd>
<dt><a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en" xml:lang="en"><samp>Compress::Bzip2</samp></a> <20>ĤG<C4A4><47><EFBFBD>H<EFBFBD>W</dt>
<dd>
<p><EFBFBD>o<EFBFBD>O<EFBFBD>B<EFBFBD>z <samp xml:lang="en">bzip2</samp> <20><><EFBFBD>Y<EFBFBD>ɥΪ<C9A5><CEAA>A<EFBFBD>u<EFBFBD><75><EFBFBD>b<EFBFBD>B<EFBFBD>z <samp xml:lang="en">bzip2</samp> <20><><EFBFBD>Y<EFBFBD>ɤ~<7E>|<7C>Ψ<EFBFBD><CEA8>C<EFBFBD>Y<EFBFBD>n<EFBFBD>ήɨS<C9A8><53><EFBFBD>w<EFBFBD>ˡA <samp xml:lang="en">reslog</samp> <20>|<7C>յۧ<D5B5><DBA7><EFBFBD> <samp xml:lang="en">bzip2</samp> <20>{<7B><><EFBFBD>N<EFBFBD><4E><EFBFBD>C<EFBFBD>Y<EFBFBD>٧<D9A7><E4A4A3><EFBFBD>A <samp xml:lang="en">reslog</samp> <20>N<EFBFBD>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>p<EFBFBD>i<EFBFBD>H<a href="http://search.cpan.org/dist/Compress-Bzip2/" hreflang="en"><EFBFBD><EFBFBD> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> <20>Ҳծw<D5AE>U<EFBFBD><55><EFBFBD>w<EFBFBD><77> <samp xml:lang="en">Compress::Bzip2</samp> </a><EFBFBD>A<EFBFBD>Υ<EFBFBD> <span xml:lang="en"><samp>CPAN</samp> Shell</span> <20><><EFBFBD><EFBFBD> <q xml:lang="en"><samp>cpan Compress::Bzip2</samp></q> <20>w<EFBFBD>ˡA<CBA1>Υ<EFBFBD> <span xml:lang="en"><samp>CPANPLUS</samp> Shell</span> <20><><EFBFBD><EFBFBD> <q xml:lang="en"><samp>cpanp i Compress::Bzip2</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">Debian/Ubandu Linux</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>apt-get install libcompress-bzip2-perl</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">Red Hat/Fedora/CentOS Linux</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>yum install perl-Compress-Bzip2</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">FreeBSD</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>ports install p5-Compress-Bzip2</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">ActivePerl</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>ppm install Compress::Bzip2</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>n<EFBFBD>b <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20>U<EFBFBD>ϥ<EFBFBD> <samp xml:lang="en">bzip2.exe</samp> <20>{<7B><><EFBFBD>A<EFBFBD>i<EFBFBD>H<EFBFBD><48> <a href="http://www.bzip.org/" hreflang="en"><samp xml:lang="en">bzip2</samp> <20><><EFBFBD><EFBFBD></a><EFBFBD>U<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>нT<EFBFBD>{<7B>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>s<EFBFBD>ɦb<C9A6>t<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>|<7C>U<EFBFBD>A<EFBFBD>ɦW<C9A6><57> <samp xml:lang="en">bzip2.exe</samp> <20>C</p>
</dd>
<dt><a href="http://search.cpan.org/dist/TermReadKey/" hreflang="en" xml:lang="en"><samp>Term::ReadKey</samp></a></dt>
<dd>
<p><EFBFBD>o<EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>ܶi<EFBFBD>צC<EFBFBD>Ϊ<EFBFBD><EFBFBD>A<EFBFBD>Y<EFBFBD>S<EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>ˡA<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>|<7C><><EFBFBD>ܶi<DCB6>צC<D7A6>C<EFBFBD><43><EFBFBD>~<7E><><EFBFBD>|<7C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>C<EFBFBD>i<EFBFBD>צC<D7A6>i<EFBFBD>H<EFBFBD><48><EFBFBD>p<EFBFBD><70> <samp xml:lang="en">reslog</samp> <20><><EFBFBD>u<EFBFBD>@<40>i<EFBFBD>פ@<40><><EFBFBD>A<EFBFBD>M<EFBFBD>C<EFBFBD>p<EFBFBD>i<EFBFBD>H<a href="http://search.cpan.org/dist/TermReadKey/" hreflang="en"><EFBFBD><EFBFBD> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> <20>Ҳծw<D5AE>U<EFBFBD><55><EFBFBD>w<EFBFBD><77> <samp xml:lang="en">Term::ReadKey</samp> </a><EFBFBD>A<EFBFBD>Υ<EFBFBD> <span xml:lang="en"><samp>CPAN</samp> Shell</span> <20><><EFBFBD><EFBFBD> <q xml:lang="en"><samp>cpan Term::ReadKey</samp></q> <20>w<EFBFBD>ˡA<CBA1>Υ<EFBFBD> <span xml:lang="en"><samp>CPANPLUS</samp> Shell</span> <20><><EFBFBD><EFBFBD> <q xml:lang="en"><samp>cpanp i Term::ReadKey</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">Debian/Ubandu Linux</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>apt-get install libterm-readkey-perl</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">Red Hat/Fedora/CentOS Linux</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>yum install perl-TermReadKey</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">FreeBSD</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>ports install p5-Term-ReadKey</samp></q> <20>w<EFBFBD>ˡC<CBA1>Y<EFBFBD>p<EFBFBD>O <span xml:lang="en">ActivePerl</span> <20>ϥΪ̡A<CCA1>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> <q xml:lang="en"><samp>ppm install Term::ReadKey</samp></q> <20>w<EFBFBD>ˡC</p>
</dd>
</dl>
</li>
</ol>
<h2><EFBFBD>U<EFBFBD><EFBFBD></h2>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>G</p>
<ul>
<li><p><a href="http://reslog.sourceforge.net/"><span xml:lang="en">SourceForge</span> <20>W<EFBFBD><57> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD><EFBFBD>C</a></p></li>
<li><p><a href="https://sourceforge.net/projects/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <span xml:lang="en">SourceForge</span> <20>M<EFBFBD>׭<EFBFBD><D7AD>C</a></p></li>
<li><p><a href="http://search.cpan.org/~imacat/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> <20>M<EFBFBD>׭<EFBFBD><D7AD>C</a></p></li>
<li><p><a href="http://www.imacat.idv.tw/tech/reslog.html"><EFBFBD>Ȫ٨̺<EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD></a></p></li>
</ul>
<p><EFBFBD>̷s<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> <20>i<EFBFBD>ѤU<D1A4>C<EFBFBD><43><EFBFBD>}<7D>U<EFBFBD><55><EFBFBD>G</p>
<ul>
<li><p><a href="https://sourceforge.net/project/showfiles.php?group_id=62500" hreflang="en"><samp xml:lang="en">reslog</samp> <span xml:lang="en">SourceForge</span> <20>U<EFBFBD><55><EFBFBD><EFBFBD><EFBFBD>C</a></p></li>
<li><p><a href="http://search.cpan.org/~imacat/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <acronym title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</acronym> <20>M<EFBFBD>׭<EFBFBD><D7AD>C</a></p></li>
<li><p><a href="ftp://ftp.imacat.idv.tw/pub/reslog/"><EFBFBD>Ȫ٨̺<EFBFBD> <abbr title="File Transfer Protocol" xml:lang="en">FTP</abbr> <20><><EFBFBD>C</a></p></li>
</ul>
<p><EFBFBD>̺<EFBFBD><EFBFBD>ߪ<EFBFBD> <abbr title="Pretty Good Privacy" xml:lang="en">PGP</abbr> <20><><EFBFBD>_<EFBFBD>b<EFBFBD>G</p>
<ul>
<li><p><a href="http://reslog.sourceforge.net/pgpkey.asc"><samp xml:lang="en">reslog</samp> <span xml:lang="en">SourceForge</span> <20><><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><57><EFBFBD>̺<EFBFBD><CCBA><EFBFBD> <abbr title="Pretty Good Privacy" xml:lang="en">PGP</abbr> <20><><EFBFBD>_<EFBFBD>C</a></p></li>
<li><p><a href="http://www.imacat.idv.tw/me/pgpkey.asc"><EFBFBD>Ȫ٨̺<EFBFBD><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>̺<EFBFBD><EFBFBD><EFBFBD> <abbr title="Pretty Good Privacy" xml:lang="en">PGP</abbr> <20><><EFBFBD>_<EFBFBD>C</a></p></li>
</ul>
<h2><EFBFBD>w<EFBFBD><EFBFBD></h2>
<p><EFBFBD>Y<EFBFBD>p<EFBFBD>O<EFBFBD><EFBFBD> <samp xml:lang="en">reslog</samp> 3.10 <20>H<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>@<40>šA<C5A1>άO<CEAC><4F> <samp xml:lang="en">reslog.pl</samp> 3.02 <20>H<EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>@<40>šA<C5A1>аѾ\ <samp xml:lang="en">UPGRADE.zh-tw</samp> <20>ɪ<EFBFBD><C9AA>@<40>Ż<EFBFBD><C5BB><EFBFBD><EFBFBD>C</p>
<h3><EFBFBD>H <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/" hreflang="en" xml:lang="en"><samp>ExtUtils::MakeMaker</samp></a> <20>w<EFBFBD><77></h3>
<p><samp xml:lang="en">reslog</samp> <20><> <acronym title="Practical Extraction and Reporting Language" xml:lang="en">Perl</acronym> <20>зǪ<D0B7> <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/" hreflang="en" xml:lang="en"><samp>ExtUtils::MakeMaker</samp></a> <20>w<EFBFBD>ˡA<CBA1>{<7B>Ǧp<C7A6>U<EFBFBD>G</p>
<blockquote xml:lang="en"><pre>
% perl Makefile.PL
% make
% make test
% make install
</pre></blockquote>
<p><EFBFBD>b <q xml:lang="en"><samp>make install</samp></q> <20>e<EFBFBD>A<EFBFBD>Х<EFBFBD><D0A5>T<EFBFBD>{<7B>p<EFBFBD><70><EFBFBD>b<EFBFBD>w<EFBFBD>˥ؿ<CBA5><D8BF>s<EFBFBD>ɪ<EFBFBD><C9AA>v<EFBFBD><76><EFBFBD>C<EFBFBD>q<EFBFBD>`<60>o<EFBFBD>ɭԭn<D4AD><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">root</samp> <20>A<EFBFBD>~<7E><><EFBFBD>w<EFBFBD>˦s<CBA6>ɡC</p>
<p><EFBFBD>Y<EFBFBD>p<EFBFBD>O<EFBFBD><EFBFBD> <span xml:lang="en"><abbr title="Microsoft">MS</abbr>-Windows</span> <20>U<EFBFBD><55> <span xml:lang="en">ActivePerl</span> <20>A <samp xml:lang="en">make</samp> <20>Ч<EFBFBD><D0A7><EFBFBD> <samp xml:lang="en">nmake</samp> <20>C <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe" type="application/x-dosexec"><samp xml:lang="en">nmake</samp> <20>i<EFBFBD>ѷL<D1B7>n<EFBFBD><6E> <abbr title="File Transfer Protocol" xml:lang="en">FTP</abbr> <20><><EFBFBD>U<EFBFBD><55></a><EFBFBD>C</p>
<p><EFBFBD>Y<EFBFBD>n<EFBFBD>w<EFBFBD>˨<EFBFBD><EFBFBD><EFBFBD>a<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>г]<5D>w<EFBFBD>n <samp xml:lang="en">PREFIX</samp> <20>C<EFBFBD>Ҧp<D2A6>A<EFBFBD>@<40><><EFBFBD>ϥΪ̡A<CCA1>n<EFBFBD>w<EFBFBD>˦b<CBA6>ۤv<DBA4><76><EFBFBD>ؿ<EFBFBD><D8BF>U<EFBFBD>ɡG</p>
<blockquote xml:lang="en"><pre>
% perl Makefile.PL PREFIX=/home/jessica
</pre></blockquote>
<p><EFBFBD>n<EFBFBD><EFBFBD><EFBFBD>D<EFBFBD><EFBFBD><EFBFBD>h<EFBFBD>w<EFBFBD>˿ﶵ<EFBFBD><EFBFBD><EFBFBD>Ӹ`<60>A<EFBFBD>аѾ\ <a href="http://search.cpan.org/dist/ExtUtils-MakeMaker/" hreflang="en" xml:lang="en"><samp>ExtUtils::MakeMaker</samp></a> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]<5D>а<EFBFBD><D0B0><EFBFBD> <q xml:lang="en"><samp>perldoc ExtUtils::MakeMaker</samp></q> <20>^<5E>C</p>
<h3><EFBFBD>H <a href="http://search.cpan.org/dist/Module-Build/" hreflang="en" xml:lang="en"><samp>Module::Build</samp></a> <20>w<EFBFBD><77></h3>
<p><EFBFBD>Y<EFBFBD>p<EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>A<EFBFBD>]<5D>i<EFBFBD>H<EFBFBD><48> <a href="http://search.cpan.org/dist/Module-Build/" hreflang="en" xml:lang="en"><samp>Module::Build</samp></a> <20>w<EFBFBD>ˡA<CBA1>{<7B>Ǧp<C7A6>U<EFBFBD>G</p>
<blockquote xml:lang="en"><pre>
% perl Build.PL
% ./Build
% ./Build test
% ./Build install
</pre></blockquote>
<p><EFBFBD>b <q xml:lang="en"><samp>./Build install</samp></q> <20>e<EFBFBD>A<EFBFBD>Х<EFBFBD><D0A5>T<EFBFBD>{<7B>p<EFBFBD><70><EFBFBD>b<EFBFBD>w<EFBFBD>˥ؿ<CBA5><D8BF>s<EFBFBD>ɪ<EFBFBD><C9AA>v<EFBFBD><76><EFBFBD>C<EFBFBD>q<EFBFBD>`<60>o<EFBFBD>ɭԭn<D4AD><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <samp xml:lang="en">root</samp> <20>A<EFBFBD>~<7E><><EFBFBD>w<EFBFBD>˦s<CBA6>ɡC</p>
<p><EFBFBD>Y<EFBFBD>n<EFBFBD>w<EFBFBD>˨<EFBFBD><EFBFBD><EFBFBD>a<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>г]<5D>w<EFBFBD>n <samp xml:lang="en">--prefix</samp> <20>C<EFBFBD>Ҧp<D2A6>A<EFBFBD>@<40><><EFBFBD>ϥΪ̡A<CCA1>n<EFBFBD>w<EFBFBD>˦b<CBA6>ۤv<DBA4><76><EFBFBD>ؿ<EFBFBD><D8BF>U<EFBFBD>ɡG</p>
<blockquote xml:lang="en"><pre>
% perl Build.PL --prefix=/home/jessica
</pre></blockquote>
<p><EFBFBD>n<EFBFBD><EFBFBD><EFBFBD>D<EFBFBD><EFBFBD><EFBFBD>h<EFBFBD>w<EFBFBD>˿ﶵ<EFBFBD><EFBFBD><EFBFBD>Ӹ`<60>A<EFBFBD>аѾ\ <a href="http://search.cpan.org/dist/Module-Build/" hreflang="en" xml:lang="en"><samp>Module::Build</samp></a> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>]<5D>а<EFBFBD><D0B0><EFBFBD> <q xml:lang="en"><samp>perldoc Module::Build</samp></q> <20>^<5E>C</p>
<h2><EFBFBD>R<EFBFBD>O<EFBFBD>C<EFBFBD>Ѽ<EFBFBD></h2>
<pre>
./reslog [<5B>Ѽ<EFBFBD>] [<5B>O<EFBFBD><4F><EFBFBD><EFBFBD>&hellip;]
./reslog [-h|-v]
</pre>
<dl>
<dt xml:lang="en"><var xml:lang="zh-tw"><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD><EFBFBD></var></dt>
<dd>
<p><EFBFBD>n<EFBFBD>Ϭd<EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>ɡC<EFBFBD>i<EFBFBD>P<EFBFBD>ɫ<EFBFBD><EFBFBD>w<EFBFBD>n<EFBFBD>X<EFBFBD><EFBFBD><EFBFBD>ɮסC<EFBFBD>Y<EFBFBD>S<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD>A<EFBFBD>|<7C>q<EFBFBD>зǿ<D0B7><C7BF><4A>O<EFBFBD><4F><EFBFBD>ɡA<C9A1>A<EFBFBD>g<EFBFBD><67><EFBFBD>зǿ<D0B7><C7BF>X<EFBFBD>C<EFBFBD>p<EFBFBD>]<5D>i<EFBFBD>H<EFBFBD>]<5D>w<EFBFBD><77><q><samp>-</samp></q><EFBFBD>A<EFBFBD>ӱq<EFBFBD>зǿ<EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>ɡA<EFBFBD>q<EFBFBD>зǿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>Ϭd<EFBFBD><EFBFBD><EFBFBD>|<7C>e<EFBFBD><65><EFBFBD>зǿ<D0B7><C7BF>X<EFBFBD>C<EFBFBD><samp xml:lang="en">gzip</samp> <20><> <samp xml:lang="en">bzip2</samp> <20><><EFBFBD>Y<EFBFBD>ɡC</p>
</dd>
<dt xml:lang="en">-o, --override <var xml:lang="zh-tw"><EFBFBD>Ҧ<EFBFBD></var></dt>
<dd>
<p><EFBFBD>p<EFBFBD>G<EFBFBD><EFBFBD><EFBFBD>P<EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>Ϭd<EFBFBD><EFBFBD><EFBFBD>G<EFBFBD>ɡA<EFBFBD>ӫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>ثe<EFBFBD><EFBFBD><EFBFBD>U<EFBFBD>C<EFBFBD>Ҧ<EFBFBD><EFBFBD>G</p>
<dl>
<dt xml:lang="en">o, overwrite</dt>
<dd>
<p><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD>ɡC</p>
</dd>
<dt xml:lang="en">a, append</dt>
<dd>
<p><EFBFBD>M<EFBFBD><EFBFBD><EFBFBD>ɥ[<5B>b<EFBFBD>@<40>_<EFBFBD>C</p>
</dd>
<dt xml:lang="en">f, fail</dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{<7B><><EFBFBD>A<EFBFBD>H<EFBFBD>K<EFBFBD><4B><EFBFBD>p<EFBFBD>߯}<7D>a<EFBFBD><61><EFBFBD>ɡC<C9A1>w<EFBFBD>]<5D>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>{<7B><><EFBFBD>C</p>
</dd>
</dl>
</dd>
<dt xml:lang="en">-k, --keep <var xml:lang="zh-tw"><EFBFBD>Ҧ<EFBFBD></var></dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>ɭn<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B<EFBFBD>z<EFBFBD>C<EFBFBD>ثe<EFBFBD><EFBFBD><EFBFBD>U<EFBFBD>C<EFBFBD>Ҧ<EFBFBD><EFBFBD>G</p>
<dl>
<dt xml:lang="en">a, all</dt>
<dd>
<p><EFBFBD>O<EFBFBD>d<EFBFBD><EFBFBD><EFBFBD>ɡC</p>
</dd>
<dt xml:lang="en">r, restart</dt>
<dd>
<p><EFBFBD>Ϭd<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>k<EFBFBD>s<EFBFBD>C</p>
</dd>
<dt xml:lang="en">d, delete</dt>
<dd>
<p><EFBFBD>Ϭd<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>R<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><EFBFBD><EFBFBD>ɡC<EFBFBD>w<EFBFBD>]<5D>O<EFBFBD>R<EFBFBD><52><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD><4F><EFBFBD>ɡC</p>
</dd>
</dl>
</dd>
<dt xml:lang="en">-s, --suffix <var xml:lang="zh-tw"><EFBFBD>ɧ<EFBFBD></var></dt>
<dd>
<p><EFBFBD>Ϭd<EFBFBD><EFBFBD><EFBFBD>G<EFBFBD>ɭn<EFBFBD>[<5B>W<EFBFBD><57><EFBFBD>ɧ<EFBFBD><C9A7>C<EFBFBD>w<EFBFBD>]<5D><><EFBFBD>ɧ<EFBFBD><C9A7>O <q xml:lang="en"><samp>.resolved</samp></q> <20>C</p>
</dd>
<dt xml:lang="en">-t, --trim-suffix <var xml:lang="zh-tw"><EFBFBD>ɧ<EFBFBD></var></dt>
<dd>
<p><EFBFBD>[<5B>W<EFBFBD>ڭ̪<DAAD><CCAA>ɧ<EFBFBD><C9A7>e<EFBFBD>A<EFBFBD><41><EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɧ<EFBFBD><C9A7>C<EFBFBD>w<EFBFBD>]<5D>O<EFBFBD><4F><EFBFBD>h<EFBFBD>ɧ<EFBFBD><C9A7>C<EFBFBD>Y<EFBFBD>p<EFBFBD>Φn<CEA6>X<EFBFBD>ӰO<D3B0><4F><EFBFBD>ɳB<C9B3>z<EFBFBD>{<7B><><EFBFBD>B<EFBFBD>z<EFBFBD>O<EFBFBD><4F><EFBFBD>ɡA<C9A1>i<EFBFBD>H<EFBFBD>γo<CEB3>ӿﶵ<D3BF>A<EFBFBD>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD>{<7B><><EFBFBD>[<5B><><EFBFBD>ɧ<EFBFBD><C9A7>C</p>
</dd>
<dt xml:lang="en">-n, --num-threads <var xml:lang="zh-tw"><EFBFBD>u<EFBFBD>{<7B><></var></dt>
<dd>
<p><EFBFBD>Ϭd<EFBFBD>ɡA<EFBFBD>P<EFBFBD>ɰ<EFBFBD><EFBFBD><EFBFBD>u<EFBFBD>{<7B>ơC<C6A1>w<EFBFBD>]<5D>ȬO 10 <20>C<EFBFBD>Y<EFBFBD><59><EFBFBD>n<EFBFBD>Φh<CEA6>u<EFBFBD>{<7B>Ϭd<CFAC>A<EFBFBD>г]<5D><> 0 <20>C<EFBFBD>t<EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>n<EFBFBD><EFBFBD>h<EFBFBD>u<EFBFBD>{<7B>C<EFBFBD>Y<EFBFBD>t<EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD>u<EFBFBD>{<7B>A<EFBFBD><41><EFBFBD><EFBFBD>S<EFBFBD><53><EFBFBD>@<40>ΡC</p>
</dd>
<dt xml:lang="en">-c, --stdout</dt>
<dd>
<p><EFBFBD><EFBFBD>G<EFBFBD><EFBFBD><EFBFBD>X<EFBFBD><EFBFBD><EFBFBD>зǿ<EFBFBD><EFBFBD>X<EFBFBD>C</p>
</dd>
<dt xml:lang="en">-d, --debug</dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD>ܸԲӪ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>L<EFBFBD>{<7B>C</p>
</dd>
<dt xml:lang="en">-q, --quiet</dt>
<dd>
<p><EFBFBD>S<EFBFBD>Ƥ<EFBFBD><EFBFBD>n<EFBFBD>n<EFBFBD>C :p</p>
</dd>
<dt xml:lang="en">-h, --help</dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD>ܵ{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</p>
</dd>
<dt xml:lang="en">-v, --version</dt>
<dd>
<p><EFBFBD><EFBFBD><EFBFBD>ܵ{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</p>
</dd>
</dl>
<h2><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>n<EFBFBD><EFBFBD></h2>
<p><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>Ҧ<EFBFBD> &copy; 2001-2007 <20>̺<EFBFBD><CCBA>ߡC<DFA1>̺<EFBFBD><CCBA>߫O<DFAB><4F><EFBFBD>Ҧ<EFBFBD><D2A6>v<EFBFBD>Q<EFBFBD>C</p>
<p><EFBFBD><EFBFBD><EFBFBD>{<7B><><EFBFBD>O<EFBFBD>ۥѳn<D1B3><6E><EFBFBD>A<EFBFBD>z<EFBFBD>i<EFBFBD>H<EFBFBD><48><EFBFBD>Ӧۥѳn<D1B3><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>| <span xml:lang="en">(Free Software Foundation)</span> <20>X<EFBFBD><58><EFBFBD><EFBFBD> <cite><acronym title="GNU&rsquo;s Not UNIX" xml:lang="en">GNU</acronym> <20>q<EFBFBD>Τ<EFBFBD><CEA4>@<40>\<5C>i<EFBFBD><69></cite><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <span xml:lang="en">(<cite><acronym title="GNU&rsquo;s Not UNIX">GNU</acronym> General Public License</cite>)</span> <20>ĤT<C4A4><54><EFBFBD>ӭק<D3AD><D7A7>M<EFBFBD><4D><EFBFBD>s<EFBFBD>o<EFBFBD>G<EFBFBD>o<EFBFBD>@<40>{<7B><><EFBFBD>A<EFBFBD>Ϊ̦ۥѿ<DBA5><D1BF>ܨϥΥ<CFA5><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C</p>
<p><EFBFBD>o<EFBFBD>G<EFBFBD>o<EFBFBD>@<40>{<7B><><EFBFBD><EFBFBD><EFBFBD>ت<EFBFBD><D8AA>O<EFBFBD>Ʊ楦<C6B1><E6A5A6><EFBFBD>ΡA<CEA1><41><EFBFBD>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>C<EFBFBD>ƦܨS<DCA8><53><EFBFBD>A<EFBFBD>X<EFBFBD>S<EFBFBD>w<EFBFBD>ت<EFBFBD><D8AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD><74><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>C<EFBFBD><43><EFBFBD>ԲӪ<D4B2><D3AA><EFBFBD><EFBFBD>p<EFBFBD>аѾ\ <cite><acronym title="GNU&rsquo;s Not UNIX" xml:lang="en">GNU</acronym> <20>q<EFBFBD>Τ<EFBFBD><CEA4>@<40>\<5C>i<EFBFBD><69></cite><EFBFBD>C</p>
<p><EFBFBD>z<EFBFBD><EFBFBD><EFBFBD>Ӥw<EFBFBD>g<EFBFBD>M<EFBFBD>{<7B><><EFBFBD>@<40>_<EFBFBD><5F><EFBFBD><EFBFBD><EFBFBD>@<40><> <cite><acronym title="GNU&rsquo;s Not UNIX" xml:lang="en">GNU</acronym> <20>q<EFBFBD>Τ<EFBFBD><CEA4>@<40>\<5C>i<EFBFBD><69></cite><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD>C<EFBFBD>p<EFBFBD>G<EFBFBD>٨S<EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>Ѿ\<samp>&lt;<a href="http://www.gnu.org/licenses/" hreflang="en">http://www.gnu.org/licenses/</a>&gt;</samp><EFBFBD>C</p>
<h2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h2>
<p><EFBFBD>о<samp xml:lang="en">NEWS</samp> <20>ɡA<C9A1>d<EFBFBD>ݵ{<7B><><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>ܡB<DCA1>s<EFBFBD>W<EFBFBD><57><EFBFBD>\<5C><><EFBFBD>M<EFBFBD>׸ɪ<D7B8><C9AA><EFBFBD><EFBFBD>~<7E>C</p>
<h2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>U</h2>
<p><samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD><EFBFBD>[<5B>b <a href="https://sourceforge.net/" hreflang="en" xml:lang="en">SourceForge</a> <20>B <a href="http://www.cpan.org/" hreflang="en" xml:lang="en"><acronym title="Comprehensive Perl Archive Network">CPAN</acronym></a> <20>P <a href="http://www.imacat.idv.tw/"><EFBFBD>Ȫ٨̺<EFBFBD></a><EFBFBD>C<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̷s<EFBFBD><EFBFBD><EFBFBD>T<EFBFBD>A<EFBFBD>оr<EFBFBD>{<7B>G</p>
<ul>
<li><p><a href="http://reslog.sourceforge.net/"><span xml:lang="en">SourceForge</span> <20>W<EFBFBD><57> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD></a><EFBFBD>C</p></li>
<li><p><a href="http://sourceforge.net/projects/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <span xml:lang="en">SourceForge</span> <20>M<EFBFBD>׭<EFBFBD></a><EFBFBD>C</p></li>
<li><p><a href="http://search.cpan.org/dist/reslog/" hreflang="en"><samp xml:lang="en">reslog</samp> <abbr title="Comprehensive Perl Archive Network" xml:lang="en">CPAN</abbr> <20>M<EFBFBD>׭<EFBFBD></a><EFBFBD>C</p></li>
<li><p><a href="http://www.imacat.idv.tw/tech/reslog.html"><EFBFBD>Ȫ٨̺<EFBFBD> <samp xml:lang="en">reslog</samp> <20><><EFBFBD><EFBFBD></a><EFBFBD>C</p></li>
</ul>
<p><EFBFBD>b <a href="https://sourceforge.net/" hreflang="en" xml:lang="en">SourceForge</a> <20>W<EFBFBD><57><EFBFBD>@<40><> <a href="mailto:reslog-users&#64;lists.sourceforge.net"><samp xml:lang="en">reslog</samp> <20><><EFBFBD>l<EFBFBD><6C><EFBFBD>q<EFBFBD>T</a> <20>C<EFBFBD>ϥΤW<CEA4><57><EFBFBD><EFBFBD><EFBFBD>D<EFBFBD>B<EFBFBD><42>ij<EFBFBD>ο<EFBFBD><CEBF>~<7E>^<5E><><EFBFBD>A<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>q<EFBFBD>T<EFBFBD>W<EFBFBD>Q<EFBFBD>סC<D7A1><43><EFBFBD>O <a href="http://www.list.org/" hreflang="en" xml:lang="en">Mailman</a> <20><><EFBFBD>l<EFBFBD><6C><EFBFBD>q<EFBFBD>T<EFBFBD>C<EFBFBD>Y<EFBFBD>n<EFBFBD>[<5B>J<EFBFBD>A<EFBFBD>Ш<EFBFBD> <a href="https://lists.sourceforge.net/lists/listinfo/reslog-users" hreflang="en"><samp xml:lang="en">reslog</samp> <20>l<EFBFBD><6C><EFBFBD>q<EFBFBD>T<EFBFBD><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> <20>C<EFBFBD>p<EFBFBD>]<5D>i<EFBFBD>H<EFBFBD>g<EFBFBD>H<EFBFBD><48> <a href="mailto:reslog-users-request&#64;lists.sourceforge.net"><acronym title="electronic mail" xml:lang="en">E-mail</acronym> <20><><EFBFBD>O<EFBFBD>H<EFBFBD>c</a><EFBFBD>A<EFBFBD><EFBFBD><EFBFBD>D<EFBFBD><EFBFBD><EFBFBD>W <samp xml:lang="en">help</samp> <20>A<EFBFBD><41><EFBFBD><EFBFBD> <acronym title="electronic mail" xml:lang="en">E-mail</acronym> <20><><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>C</p>
</div>
<hr />
<div id="footer" class="footer" title="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
<address><a href="mailto:imacat&#64;mail.imacat.idv.tw"><EFBFBD>̺<EFBFBD><EFBFBD><EFBFBD></a><EFBFBD>A<EFBFBD><EFBFBD><EFBFBD>Z 2001-07-04 <20>A<EFBFBD>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD> 2008-11-15</address>
<address><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>Ҧ<EFBFBD> &copy; 2003-2008 <20>̺<EFBFBD><CCBA>ߡA<DFA1><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޥνХ<CEBD><D0A5><a href="fdl.txt"><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>n<EFBFBD><EFBFBD></a></address>
</div>
</body>
</html>

22
t/00-signature.t Executable file
View File

@ -0,0 +1,22 @@
#!/usr/bin/perl
use strict;
print "1..1\n";
if (!-s 'SIGNATURE') {
print "ok 1 # skip No signature file found\n";
}
elsif (!eval { require Module::Signature; 1 }) {
print "ok 1 # skip ",
"Next time around, consider install Module::Signature, ",
"so you can verify the integrity of this distribution.\n";
}
elsif (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) {
print "ok 1 # skip Cannot connect to the keyserver\n";
}
else {
(Module::Signature::verify() == Module::Signature::SIGNATURE_OK())
or print "not ";
print "ok 1 # Valid signature\n";
}
__END__

249
t/01-exhaust.t Executable file
View File

@ -0,0 +1,249 @@
#! /usr/bin/perl -w
# Test all the possible combination of options
# Copyright (c) 2005-2007 imacat
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# This file is combined from 01-plain.t, 02-gzip.t and 03-bzip2.t.
use 5.005;
use strict;
use warnings;
use diagnostics;
use Test;
BEGIN { plan tests => 1341 }
use File::Basename qw(basename);
use File::Path qw(mkpath rmtree);
use File::Spec::Functions qw(catdir catfile updir devnull);
use FindBin;
use lib $FindBin::Bin;
use _helper;
use vars qw($WORKDIR $tno $reslog);
$WORKDIR = catdir($FindBin::Bin, "logs");
$tno = 0;
$reslog = catfile($FindBin::Bin, updir, "blib", "script", "reslog");
# Test each source log file type
foreach my $st (@SRCTYPES) {
# Test each source file content type
foreach my $sct (@CNTTYPES) {
# Test each keep type
foreach my $kt (@KEEPTYPES) {
# Test each override type
foreach my $ot (@OVERTYPES) {
# Test each existing file content type
my @ecnttypes;
if (!$$ot{"mkex"}) {
# Existing file content type is meaningless
# if there is no existing file.
@ecnttypes = (1);
} else {
# mkrndlog_noip() does not make a difference than
# mkrndlog_normal() as an existing file.
@ecnttypes = grep $$_{"title"} ne "log file without IP",
@CNTTYPES;
}
foreach my $ect (@ecnttypes) {
# Test each suffix type
foreach my $suft (@SUFTYPES) {
# Test each trim-suffix type
foreach my $tsuft (@TSUFTYPES) {
$_ = eval {
return if $$st{"skip"};
my ($title, $cmd, $retno, $out, $err, $logfile);
my ($fr, $frb, @fle, $fle, $flr, %cef, %crf, %tef, %trf);
my ($fs, $fo, $cs, $csr, $co, $suf, $tsuf);
rmtree $WORKDIR;
mkpath $WORKDIR;
$title = join ", ", $$st{"title"}, $$sct{"title"},
$$kt{"title"}, $$ot{"title"},
$$suft{"title"}, $$tsuft{"title"};
$logfile = randword;
$suf = defined $$suft{"suf"}? $$suft{"suf"}: "." . randword;
if (defined $$tsuft{"suf"}) {
$tsuf = $$tsuft{"suf"};
} else {
do { $tsuf = "." . randword; } until $tsuf ne $suf;
}
$fs = catfile($WORKDIR, "$logfile$tsuf" . $$st{"suf"});
($cs, $csr) = &{$$sct{"sub"}}($fs);
if ($$ot{"mkex"}) {
$fo = catfile($WORKDIR, "$logfile$suf" . $$st{"suf"});
$co = (&{$$ect{"sub"}}($fo))[0];
}
@fle = qw();
push @fle, basename($fs) if !($$ot{"ok"} && $$kt{"del"});
if ($$ot{"ok"}) {
push @fle, "$logfile$suf" . $$st{"suf"};
} else {
push @fle, basename($fo) if !$$kt{"del"} || $$ot{"mkex"};
}
prsrvsrc $WORKDIR;
@_ = ($reslog, qw(-d -d -d -n 1), @{$$kt{"opts"}},
@{$$ot{"opts"}}, &{$$suft{"opts"}}($suf),
&{$$tsuft{"opts"}}($tsuf), $fs);
$cmd = join " ", @_;
($retno, $out, $err) = runcmd "", @_;
($fle, $flr) = (join(" ", sort @fle), flist $WORKDIR);
%cef = qw(); # Expected content by file
%tef = qw(); # Expected file type by file
%crf = qw(); # Resulted content by file
%trf = qw(); # Resulted file type by file
if (!($$ot{"ok"} && $$kt{"del"})) {
$fr = $fs;
$frb = basename($fr);
$cef{$frb} = $$kt{"keep"} || !$$ot{"ok"}? $cs: "";
$tef{$frb} = $$st{"type"};
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
}
if ($$ot{"ok"} || $$ot{"mkex"}) {
$frb = "$logfile$suf" . $$st{"suf"};
$fr = catfile($WORKDIR, $frb);
$cef{$frb} = &{$$ot{"ce"}}($co, $csr);
$tef{$frb} = $$st{"type"};
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
}
die "$title\n$cmd\n$out$err"
unless $$ot{"ok"}? $retno == 0: $retno != 0;
die "$title\n$cmd\nresult files incorrect.\nGot: $flr\nExpected: $fle\nOutput:\n$out$err"
unless $flr eq $fle;
foreach $fr (@fle) {
die "$title\n$cmd\n$fr: result type incorrect.\nGot: $trf{$fr}\nExpected: $tef{$fr}\nOutput:\n$out$err"
unless nofile || $trf{$fr} eq $tef{$fr}
|| ($tef{$fr} eq TYPE_BZIP2 && -z catfile($WORKDIR, $fr));
die "$title\n$cmd\n$fr: result incorrect.\nGot:\n$crf{$fr}\nExpected:\n$cef{$fr}\nOutput:\n$out$err"
unless $crf{$fr} eq $cef{$fr};
}
1;
};
skip($$st{"skip"}, $_, 1, $@);
cleanup $_ || $$st{"skip"}, $WORKDIR, ++$tno;
die unless $_ || $$st{"skip"};
}
}
}
}
# 37: From file to STDOUT
$_ = eval {
return if $$st{"skip"};
my ($title, $cmd, $retno, $out, $err, $logfile, $result);
my ($fr, $frb, @fle, $fle, $flr, %cef, %crf, %tef, %trf);
my ($fs, $fo, $cs, $csr, $co);
rmtree $WORKDIR;
mkpath $WORKDIR;
$title = join ", ", "From file to STDOUT", $$sct{"title"},
$$st{"title"}, $$kt{"title"};
$logfile = randword;
do { $result = randword; } until $result ne $logfile;
$fs = catfile($WORKDIR, "$logfile" . $$st{"suf"});
($cs, $csr) = &{$$sct{"sub"}}($fs);
@fle = qw();
push @fle, basename($fs) if !$$kt{"cdel"};
push @fle, $result . $$st{"suf"};
prsrvsrc $WORKDIR;
@_ = ($reslog, qw(-d -d -d -n 1 -c), @{$$kt{"opts"}}, $fs);
$cmd = join " ", @_;
($retno, $out, $err) = runcmd "", @_;
frwrite(catfile($WORKDIR, $result . $$st{"suf"}), $out);
($fle, $flr) = (join(" ", sort @fle), flist $WORKDIR);
%cef = qw(); # Expected content by file
%tef = qw(); # Expected file type by file
%crf = qw(); # Resulted content by file
%trf = qw(); # Resulted file type by file
if (!$$kt{"cdel"}) {
$fr = $fs;
$frb = basename($fr);
$cef{$frb} = $$kt{"ckeep"}? $cs: "";
$tef{$frb} = $$st{"type"};
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
}
$frb = $result . $$st{"suf"};
$fr = catfile($WORKDIR, $frb);
($cef{$frb}, $tef{$frb}) = ($csr, $$st{"type"});
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
die "$title\n$cmd\n$out$err" unless $retno == 0;
die "$title\n$cmd\nresult files incorrect.\nGot: $flr\nExpected: $fle\nOutput:\n$out$err"
unless $flr eq $fle;
foreach $fr (@fle) {
die "$title\n$cmd\n$fr: result type incorrect.\nGot: $trf{$fr}\nExpected: $tef{$fr}\nOutput:\n$out$err"
unless nofile || $trf{$fr} eq $tef{$fr}
|| ($tef{$fr} eq TYPE_BZIP2 && -z catfile($WORKDIR, $fr));
die "$title\n$cmd\n$fr: result incorrect.\nGot:\n$crf{$fr}\nExpected:\n$cef{$fr}\nOutput:\n$out$err"
unless $crf{$fr} eq $cef{$fr};
}
1;
};
skip($$st{"skip"}, $_, 1, $@);
cleanup $_ || $$st{"skip"}, $WORKDIR, ++$tno;
die unless $_ || $$st{"skip"};
}
# 85: From STDIN to STDOUT
$_ = eval {
return if $$st{"skip"};
my ($title, $cmd, $retno, $out, $err, $logfile, $result);
my ($fr, $frb, @fle, $fle, $flr, %cef, %crf, %tef, %trf);
my ($fs, $fo, $cs, $csr, $co);
rmtree $WORKDIR;
mkpath $WORKDIR;
$title = join ", ", "From STDIN to STDOUT", $$sct{"title"},
$$st{"title"};
$logfile = randword;
do { $result = randword; } until $result ne $logfile;
$fs = catfile($WORKDIR, "$logfile" . $$st{"suf"});
($cs, $csr) = &{$$sct{"sub"}}($fs);
@fle = qw();
push @fle, basename($fs);
push @fle, $result . $$st{"suf"};
prsrvsrc $WORKDIR;
@_ = ($reslog, qw(-d -d -d -n 1));
$cmd = join(" ", @_) . " < $fs";
($retno, $out, $err) = runcmd frread $fs, @_;
frwrite(catfile($WORKDIR, $result . $$st{"suf"}), $out);
($fle, $flr) = (join(" ", sort @fle), flist $WORKDIR);
%cef = qw(); # Expected content by file
%tef = qw(); # Expected file type by file
%crf = qw(); # Resulted content by file
%trf = qw(); # Resulted file type by file
$fr = $fs;
$frb = basename($fr);
$cef{$frb} = $cs;
$tef{$frb} = $$st{"type"};
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
$frb = $result . $$st{"suf"};
$fr = catfile($WORKDIR, $frb);
($cef{$frb}, $tef{$frb}) = ($csr, $$st{"type"});
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
die "$title\n$cmd\n$out$err" unless $retno == 0;
die "$title\n$cmd\nresult files incorrect.\nGot: $flr\nExpected: $fle\nOutput:\n$out$err"
unless $flr eq $fle;
foreach $fr (@fle) {
die "$title\n$cmd\n$fr: result type incorrect.\nGot: $trf{$fr}\nExpected: $tef{$fr}\nOutput:\n$out$err"
unless nofile || $trf{$fr} eq $tef{$fr}
|| ($tef{$fr} eq TYPE_BZIP2 && -z catfile($WORKDIR, $fr));
die "$title\n$cmd\n$fr: result incorrect.\nGot:\n$crf{$fr}\nExpected:\n$cef{$fr}\nOutput:\n$out$err"
unless $crf{$fr} eq $cef{$fr};
}
1;
};
skip($$st{"skip"}, $_, 1, $@);
cleanup $_ || $$st{"skip"}, $WORKDIR, ++$tno;
die unless $_ || $$st{"skip"};
}
}

238
t/02-several.t Executable file
View File

@ -0,0 +1,238 @@
#! /usr/bin/perl -w
# Test processing several log files at once
# Copyright (c) 2007 imacat
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# This file replaces 04-hybrix.t.
use 5.005;
use strict;
use warnings;
use diagnostics;
use Test;
BEGIN { plan tests => 4 }
use File::Basename qw(basename);
use File::Path qw(mkpath rmtree);
use File::Spec::Functions qw(catdir catfile updir);
use FindBin;
use lib $FindBin::Bin;
use _helper;
use vars qw($WORKDIR $tno $reslog);
$WORKDIR = catdir($FindBin::Bin, "logs");
$tno = 0;
$reslog = catfile($FindBin::Bin, updir, "blib", "script", "reslog");
# 1: Source log files listed as the arguments
$_ = eval {
my ($title, $cmd, $retno, $out, $err, %logfiles);
my ($fr, $frb, @fle, $fle, $flr, %cef, %crf, %tef, %trf);
my ($num, @fs, @fo, @cs, @csr, @co, @st, $suf, $tsuf);
rmtree $WORKDIR;
mkpath $WORKDIR;
$title = join ", ", "several log files", "all listed as arguments";
$suf = "." . randword;
do { $tsuf = "." . randword; } until $tsuf ne $suf;
# (2-4 times available compression) log files
$_ = 2 + (nogzip? 0: 2) + (nobzip2? 0: 2);
$num = $_ + int rand $_;
%_ = qw();
# At least 2 files for each available compression
foreach my $st (@SRCTYPES) {
next if ($$st{"type"} eq TYPE_GZIP && nogzip)
|| ($$st{"type"} eq TYPE_BZIP2 && nobzip2);
@_ = grep !exists $_{$_}, (0...$num-1);
$_{$_[int rand @_]} = $st;
@_ = grep !exists $_{$_}, (0...$num-1);
$_{$_[int rand @_]} = $st;
}
# Set random compression on the rest files
foreach (grep !exists $_{$_}, (0...$num-1)) {
do {
$_{$_} = $SRCTYPES[int rand @SRCTYPES];
} until !(${$_{$_}}{"type"} eq TYPE_GZIP && nogzip)
&& !(${$_{$_}}{"type"} eq TYPE_BZIP2 && nobzip2);
}
@st = map $_{$_}, (0...$num-1);
@fs = qw();
@fo = qw();
@cs = qw();
@csr = qw();
@co = qw();
@fle = qw();
%logfiles = qw();
for (my $k = 0; $k < $num; $k++) {
my ($logfile, $cs, $csr, $co);
do { $logfile = randword } until !exists $logfiles{$logfile};
$logfiles{$logfile} = 1;
push @fs, catfile($WORKDIR, "$logfile$tsuf" . ${$st[$k]}{"suf"});
push @fo, catfile($WORKDIR, "$logfile$suf" . ${$st[$k]}{"suf"});
($cs, $csr) = mkrndlog_normal $fs[$k];
push @cs, $cs;
push @csr, $csr;
push @fle, basename($fo[$k]);
# 1: create existing file, 0: no existing file
if (int rand 1) {
$co = (mkrndlog_normal $fo[$k])[0];
push @co, $co;
} else {
push @co, "";
}
}
prsrvsrc $WORKDIR;
@_ = ($reslog, qw(-d -d -d -o a), "-s", $suf, "-t", $tsuf, @fs);
$cmd = join(" ", @_);
($retno, $out, $err) = runcmd "", @_;
($fle, $flr) = (join(" ", sort @fle), flist $WORKDIR);
%cef = qw(); # Expected content by file
%tef = qw(); # Expected file type by file
%crf = qw(); # Resulted content by file
%trf = qw(); # Resulted file type by file
for (my $k = 0; $k < $num; $k++) {
$fr = $fo[$k];
$frb = basename($fr);
($cef{$frb}, $tef{$frb}) = ($co[$k] . $csr[$k], ${$st[$k]}{"type"});
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
}
die "$title\n$cmd\n$out$err" unless $retno == 0;
die "$title\n$cmd\nresult files incorrect.\nGot: $flr\nExpected: $fle\nOutput:\n$out$err"
unless $flr eq $fle;
foreach $fr (@fle) {
die "$title\n$cmd\n$fr: result type incorrect.\nGot: $trf{$fr}\nExpected: $tef{$fr}\nOutput:\n$out$err"
unless nofile || $trf{$fr} eq $tef{$fr};
die "$title\n$cmd\n$fr: result incorrect.\nGot:\n$crf{$fr}\nExpected:\n$cef{$fr}\nOutput:\n$out$err"
unless $crf{$fr} eq $cef{$fr};
}
1;
};
ok($_, 1, $@);
cleanup $_, $WORKDIR, ++$tno;
# 2-4: One of the source log files is read from STDIN
# The file type at STDIN
foreach my $ststdin (@SRCTYPES) {
my $skip;
$skip = 0;
$_ = eval {
if ( ($$ststdin{"type"} eq TYPE_GZIP && nogzip)
|| ($$ststdin{"type"} eq TYPE_BZIP2 && nobzip2)) {
$skip = 1;
return;
}
my ($title, $cmd, $retno, $out, $err, %logfiles);
my ($fr, $frb, @fle, $fle, $flr, %cef, %crf, %tef, %trf);
my ($num, @fs, @fo, @cs, @csr, @co, @st, $suf, $tsuf, $stdin);
rmtree $WORKDIR;
mkpath $WORKDIR;
$title = join ", ", "several log files", "one read from STDIN",
"STDIN " . $$ststdin{"title"};
$suf = "." . randword;
do { $tsuf = "." . randword; } until $tsuf ne $suf;
# (2-4 times available compression) log files
$_ = 2 + (nogzip? 0: 2) + (nobzip2? 0: 2);
$num = $_ + int rand $_;
%_ = qw();
# At least 2 files for each available compression
foreach my $st (@SRCTYPES) {
next if ($$st{"type"} eq TYPE_GZIP && nogzip)
|| ($$st{"type"} eq TYPE_BZIP2 && nobzip2);
@_ = grep !exists $_{$_}, (0...$num-1);
$_{$_[int rand @_]} = $st;
@_ = grep !exists $_{$_}, (0...$num-1);
$_{$_[int rand @_]} = $st;
}
# Set random compression on the rest files
foreach (grep !exists $_{$_}, (0...$num-1)) {
do {
$_{$_} = $SRCTYPES[int rand @SRCTYPES];
} until !(${$_{$_}}{"type"} eq TYPE_GZIP && nogzip)
&& !(${$_{$_}}{"type"} eq TYPE_BZIP2 && nobzip2);
}
# Choose the STDIN from the matching compression
@_ = grep ${$_{$_}}{"type"} eq $$ststdin{"type"}, (0...$num-1);
$stdin = $_[int rand @_];
@st = map $_{$_}, (0...$num-1);
@fs = qw();
@fo = qw();
@cs = qw();
@csr = qw();
@co = qw();
@fle = qw();
%logfiles = qw();
for (my $k = 0; $k < $num; $k++) {
my ($logfile, $cs, $csr, $co);
do { $logfile = randword } until !exists $logfiles{$logfile};
$logfiles{$logfile} = 1;
push @fs, catfile($WORKDIR, "$logfile$tsuf" . ${$st[$k]}{"suf"});
if ($k == $stdin) {
do { $_ = randword } until !exists $logfiles{$_};
$logfiles{$_} = 1;
push @fo, catfile($WORKDIR, "$_" . ${$st[$k]}{"suf"});
} else {
push @fo, catfile($WORKDIR, "$logfile$suf" . ${$st[$k]}{"suf"});
}
($cs, $csr) = mkrndlog_normal $fs[$k];
push @cs, $cs;
push @csr, $csr;
push @fle, basename($fs[$k]) if $k == $stdin;
push @fle, basename($fo[$k]);
# 1: create existing file, 0: no existing file
if ($k != $stdin && int rand 1) {
$co = (mkrndlog_normal $fo[$k])[0];
push @co, $co;
} else {
push @co, "";
}
}
prsrvsrc $WORKDIR;
@_ = @fs;
$_[$stdin] = "-";
@_ = ($reslog, qw(-d -d -d -o a), "-s", $suf, "-t", $tsuf, @_);
$cmd = join(" ", @_) . " < " . $fs[$stdin];
($retno, $out, $err) = runcmd frread $fs[$stdin], @_;
frwrite($fo[$stdin], $out);
($fle, $flr) = (join(" ", sort @fle), flist $WORKDIR);
%cef = qw(); # Expected content by file
%tef = qw(); # Expected file type by file
%crf = qw(); # Resulted content by file
%trf = qw(); # Resulted file type by file
$fr = $fs[$stdin];
$frb = basename($fr);
($cef{$frb}, $tef{$frb}) = ($cs[$stdin], ${$st[$stdin]}{"type"});
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
for (my $k = 0; $k < $num; $k++) {
$fr = $fo[$k];
$frb = basename($fr);
($cef{$frb}, $tef{$frb}) = ($co[$k] . $csr[$k], ${$st[$k]}{"type"});
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
}
die "$title\n$cmd\n$out$err" unless $retno == 0;
die "$title\n$cmd\nresult files incorrect.\nGot: $flr\nExpected: $fle\nOutput:\n$out$err"
unless $flr eq $fle;
foreach $fr (@fle) {
die "$title\n$cmd\n$fr: result type incorrect.\nGot: $trf{$fr}\nExpected: $tef{$fr}\nOutput:\n$out$err"
unless nofile || $trf{$fr} eq $tef{$fr};
die "$title\n$cmd\n$fr: result incorrect.\nGot:\n$crf{$fr}\nExpected:\n$cef{$fr}\nOutput:\n$out$err"
unless $crf{$fr} eq $cef{$fr};
}
1;
};
skip($skip, $_, 1, $@);
cleanup $_ || $skip, $WORKDIR, ++$tno;
die if !$_ && !$skip;
}

223
t/03-errors.t Executable file
View File

@ -0,0 +1,223 @@
#! /usr/bin/perl -w
# Test the errors that should be captured.
# Copyright (c) 2007 imacat
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
use 5.005;
use strict;
use warnings;
use diagnostics;
use Test;
BEGIN { plan tests => 7 }
use File::Basename qw(basename);
use File::Path qw(mkpath rmtree);
use File::Spec::Functions qw(catdir catfile updir);
use FindBin;
use lib $FindBin::Bin;
use _helper;
use vars qw($WORKDIR $reslog $tno);
$WORKDIR = catdir($FindBin::Bin, "logs");
$reslog = catfile($FindBin::Bin, updir, "blib", "script", "reslog");
$tno = 0;
# 1-6: Trim suffix is the same as suffix
foreach my $st (@SRCTYPES) {
# 1: Trim suffix is the same as suffix
$_ = eval {
return if $$st{"skip"};
my ($title, $cmd, $retno, $out, $err, $logfile);
my ($fr, $frb, @fle, $fle, $flr, %cef, %crf, %tef, %trf);
my ($fs, $fo, $cs, $csr, $co, $suf);
rmtree $WORKDIR;
mkpath $WORKDIR;
$title = join ", ", "Trim suffix is the same as suffix",
$$st{"title"};
$logfile = randword;
$suf = "." . randword;
$fs = catfile($WORKDIR, "$logfile" . $$st{"suf"});
($cs, $csr) = mkrndlog_normal $fs;
@fle = qw();
push @fle, basename($fs);
prsrvsrc $WORKDIR;
@_ = ($reslog, qw(-d -d -d -n 1), "-s", $suf, "-t", $suf, $fs);
$cmd = join " ", @_;
($retno, $out, $err) = runcmd "", @_;
($fle, $flr) = (join(" ", sort @fle), flist $WORKDIR);
%cef = qw(); # Expected content by file
%tef = qw(); # Expected file type by file
%crf = qw(); # Resulted content by file
%trf = qw(); # Resulted file type by file
$fr = $fs;
$frb = basename($fr);
($cef{$frb}, $tef{$frb}) = ($cs, $$st{"type"});
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
die "$title\n$cmd\n$out$err" unless $retno != 0;
die "$title\n$cmd\nresult files incorrect.\nGot: $flr\nExpected: $fle\nOutput:\n$out$err"
unless $flr eq $fle;
foreach $fr (@fle) {
die "$title\n$cmd\n$fr: result type incorrect.\nGot: $trf{$fr}\nExpected: $tef{$fr}\nOutput:\n$out$err"
unless nofile || $trf{$fr} eq $tef{$fr}
|| ($tef{$fr} eq TYPE_BZIP2 && -z catfile($WORKDIR, $fr));
die "$title\n$cmd\n$fr: result incorrect.\nGot:\n$crf{$fr}\nExpected:\n$cef{$fr}\nOutput:\n$out$err"
unless $crf{$fr} eq $cef{$fr};
}
1;
};
skip($$st{"skip"}, $_, 1, $@);
cleanup $_ || $$st{"skip"}, $WORKDIR, ++$tno;
# 2: Default suffix and trim suffix is set to .resolved
$_ = eval {
return if $$st{"skip"};
my ($title, $cmd, $retno, $out, $err, $logfile);
my ($fr, $frb, @fle, $fle, $flr, %cef, %crf, %tef, %trf);
my ($fs, $fo, $cs, $csr, $co, $suf);
rmtree $WORKDIR;
mkpath $WORKDIR;
$title = join ", ", "Default suffix and trim suffix is set to .resolved",
$$st{"title"};
$logfile = randword;
$suf = ".resolved";
$fs = catfile($WORKDIR, "$logfile" . $$st{"suf"});
($cs, $csr) = mkrndlog_normal $fs;
@fle = qw();
push @fle, basename($fs);
prsrvsrc $WORKDIR;
@_ = ($reslog, qw(-d -d -d -n 1), "-t", $suf, $fs);
$cmd = join " ", @_;
($retno, $out, $err) = runcmd "", @_;
($fle, $flr) = (join(" ", sort @fle), flist $WORKDIR);
%cef = qw(); # Expected content by file
%tef = qw(); # Expected file type by file
%crf = qw(); # Resulted content by file
%trf = qw(); # Resulted file type by file
$fr = $fs;
$frb = basename($fr);
($cef{$frb}, $tef{$frb}) = ($cs, $$st{"type"});
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
die "$title\n$cmd\n$out$err" unless $retno != 0;
die "$title\n$cmd\nresult files incorrect.\nGot: $flr\nExpected: $fle\nOutput:\n$out$err"
unless $flr eq $fle;
foreach $fr (@fle) {
die "$title\n$cmd\n$fr: result type incorrect.\nGot: $trf{$fr}\nExpected: $tef{$fr}\nOutput:\n$out$err"
unless nofile || $trf{$fr} eq $tef{$fr}
|| ($tef{$fr} eq TYPE_BZIP2 && -z catfile($WORKDIR, $fr));
die "$title\n$cmd\n$fr: result incorrect.\nGot:\n$crf{$fr}\nExpected:\n$cef{$fr}\nOutput:\n$out$err"
unless $crf{$fr} eq $cef{$fr};
}
1;
};
skip($$st{"skip"}, $_, 1, $@);
cleanup $_ || $$st{"skip"}, $WORKDIR, ++$tno;
}
# 7: A same log file is specified more than once
$_ = eval {
my ($title, $cmd, $retno, $out, $err, %logfiles);
my ($fr, $frb, @fle, $fle, $flr, %cef, %crf, %tef, %trf);
my ($num, @fs, @fo, @cs, @csr, @co, @st, $suf, $tsuf, $dup);
rmtree $WORKDIR;
mkpath $WORKDIR;
$title = "A same log file is specified more than once";
$suf = "." . randword;
do { $tsuf = "." . randword; } until $tsuf ne $suf;
# (2-4 times available compression) log files
$_ = 2 + (nogzip? 0: 2) + (nobzip2? 0: 2);
$num = $_ + int rand $_;
%_ = qw();
# At least 2 files for each available compression
foreach my $st (@SRCTYPES) {
next if ($$st{"type"} eq TYPE_GZIP && nogzip)
|| ($$st{"type"} eq TYPE_BZIP2 && nobzip2);
@_ = grep !exists $_{$_}, (0...$num-1);
$_{$_[int rand @_]} = $st;
@_ = grep !exists $_{$_}, (0...$num-1);
$_{$_[int rand @_]} = $st;
}
# Set random compression on the rest files
foreach (grep !exists $_{$_}, (0...$num-1)) {
do {
$_{$_} = $SRCTYPES[int rand @SRCTYPES];
} until !(${$_{$_}}{"type"} eq TYPE_GZIP && nogzip)
&& !(${$_{$_}}{"type"} eq TYPE_BZIP2 && nobzip2);
}
@st = map $_{$_}, (0...$num-1);
@fs = qw();
@fo = qw();
@cs = qw();
@csr = qw();
@co = qw();
@fle = qw();
%logfiles = qw();
for (my $k = 0; $k < $num; $k++) {
my ($logfile, $cs, $csr, $co);
do { $logfile = randword } until !exists $logfiles{$logfile};
$logfiles{$logfile} = 1;
push @fs, catfile($WORKDIR, "$logfile$tsuf" . ${$st[$k]}{"suf"});
push @fo, catfile($WORKDIR, "$logfile$suf" . ${$st[$k]}{"suf"});
($cs, $csr) = mkrndlog_normal $fs[$k];
push @cs, $cs;
push @csr, $csr;
push @fle, basename($fs[$k]);
# 1: create existing file, 0: no existing file
if (int rand 1) {
$co = (mkrndlog_normal $fo[$k])[0];
push @co, $co;
push @fle, basename($fo[$k]);
} else {
push @co, "";
}
}
prsrvsrc $WORKDIR;
$dup = $fs[int rand @fs];
$_ = int rand(@fs + 1);
@_ = (@fs[0...$_-1], $dup, @fs[$_...$#fs]);
@_ = ($reslog, qw(-d -d -d -o a), "-s", $suf, "-t", $tsuf, @_);
$cmd = join(" ", @_);
($retno, $out, $err) = runcmd "", @_;
($fle, $flr) = (join(" ", sort @fle), flist $WORKDIR);
%cef = qw(); # Expected content by file
%tef = qw(); # Expected file type by file
%crf = qw(); # Resulted content by file
%trf = qw(); # Resulted file type by file
for (my $k = 0; $k < $num; $k++) {
$fr = $fs[$k];
$frb = basename($fr);
($cef{$frb}, $tef{$frb}) = ($cs[$k], ${$st[$k]}{"type"});
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
if ($co[$k] ne "") {
$fr = $fo[$k];
$frb = basename($fr);
($cef{$frb}, $tef{$frb}) = ($co[$k], ${$st[$k]}{"type"});
($crf{$frb}, $trf{$frb}) = (fread $fr, ftype $fr);
}
}
die "$title\n$cmd\n$out$err" unless $retno != 0;
die "$title\n$cmd\nresult files incorrect.\nGot: $flr\nExpected: $fle\nOutput:\n$out$err"
unless $flr eq $fle;
foreach $fr (@fle) {
die "$title\n$cmd\n$fr: result type incorrect.\nGot: $trf{$fr}\nExpected: $tef{$fr}\nOutput:\n$out$err"
unless nofile || $trf{$fr} eq $tef{$fr};
die "$title\n$cmd\n$fr: result incorrect.\nGot:\n$crf{$fr}\nExpected:\n$cef{$fr}\nOutput:\n$out$err"
unless $crf{$fr} eq $cef{$fr};
}
1;
};
ok($_, 1, $@);
cleanup $_, $WORKDIR, ++$tno;

5
t/99-pod.t Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/perl
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
all_pod_files_ok();

816
t/_helper.pm Normal file
View File

@ -0,0 +1,816 @@
# _helper.pm - A simple test suite helper
# Copyright (c) 2005-2007 imacat
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
package _helper;
use 5.005;
use strict;
use warnings;
use base qw(Exporter);
use vars qw($VERSION @EXPORT);
$VERSION = "0.05";
@EXPORT = qw();
push @EXPORT, qw(fread frread fwrite frwrite);
push @EXPORT, qw(runcmd whereis ftype flist prsrvsrc cleanup);
push @EXPORT, qw(nofile nogzip nobzip2);
push @EXPORT, qw(mkrndlog_normal mkrndlog_noip mkrndlog_empty);
push @EXPORT, qw(randword);
push @EXPORT, qw(TYPE_PLAIN TYPE_GZIP TYPE_BZIP2);
push @EXPORT, qw(@CNTTYPES @SRCTYPES @KEEPTYPES @OVERTYPES @SUFTYPES @TSUFTYPES);
# Prototype declaration
sub thisfile();
sub fread($);
sub frread($);
sub fwrite($$);
sub frwrite($$);
sub runcmd($@);
sub whereis($);
sub ftype($);
sub flist($);
sub prsrvsrc($);
sub cleanup($$$);
sub nofile();
sub nogzip();
sub nobzip2();
sub mkrndlog_normal($);
sub mkrndlog_noip($);
sub mkrndlog_empty($);
sub randword();
sub randip();
use ExtUtils::MakeMaker qw();
use Fcntl qw(:seek);
use File::Basename qw(basename);
use File::Copy qw(copy);
use File::Path qw(mkpath rmtree);
use File::Spec::Functions qw(splitdir catdir catfile path);
use File::Temp qw(tempfile);
use Socket;
use vars qw(%WHEREIS $NOFILE $NOGZIP $NOBZIP2 $RANDIP);
%WHEREIS = qw();
undef $NOFILE;
undef $NOGZIP;
undef $NOBZIP2;
undef $RANDIP;
use constant TYPE_PLAIN => "text/plain";
use constant TYPE_GZIP => "application/x-gzip";
use constant TYPE_BZIP2 => "application/x-bzip2";
use vars qw(@CNTTYPES @SRCTYPES @KEEPTYPES @OVERTYPES @SUFTYPES @TSUFTYPES);
# All the countent type information
@CNTTYPES = ( { "title" => "normal log file",
"sub" => \&mkrndlog_normal, },
{ "title" => "log file without IP",
"sub" => \&mkrndlog_noip, },
{ "title" => "empty log file",
"sub" => \&mkrndlog_empty, }, );
# All the source type information
@SRCTYPES = ( { "title" => "plain text source",
"type" => TYPE_PLAIN,
"suf" => "",
"skip" => 0, },
{ "title" => "gzip source",
"type" => TYPE_GZIP,
"suf" => ".gz",
"skip" => nogzip, },
{ "title" => "bzip2 source",
"type" => TYPE_BZIP2,
"suf" => ".bz2",
"skip" => nobzip2, }, );
# All the keep type information
@KEEPTYPES = ( { "title" => "keep default",
"opts" => [],
"del" => 1,
"keep" => 0,
"cdel" => 0,
"ckeep" => 1, },
{ "title" => "keep all",
"opts" => [qw(-k a)],
"del" => 0,
"keep" => 1,
"cdel" => 0,
"ckeep" => 1, },
{ "title" => "keep delete",
"opts" => [qw(-k d)],
"del" => 1,
"keep" => 0,
"cdel" => 1,
"ckeep" => 0, },
{ "title" => "keep restart",
"opts" => [qw(-k r)],
"del" => 0,
"keep" => 0,
"cdel" => 0,
"ckeep" => 0, }, );
# All the override type information
@OVERTYPES = ( { "title" => "override no existing",
"opts" => [],
"mkex" => 0,
"ok" => 1,
"ce" => sub { $_[1]; }, },
{ "title" => "override default",
"opts" => [],
"mkex" => 1,
"ok" => 0,
"ce" => sub { $_[0]; }, },
{ "title" => "override overwrite",
"opts" => [qw(-o o)],
"mkex" => 1,
"ok" => 1,
"ce" => sub { $_[1]; }, },
{ "title" => "override append",
"opts" => [qw(-o a)],
"mkex" => 1,
"ok" => 1,
"ce" => sub { $_[0] . $_[1]; }, },
{ "title" => "override fail",
"opts" => [qw(-o f)],
"mkex" => 1,
"ok" => 0,
"ce" => sub { $_[0]; }, }, );
# All the suffix information
@SUFTYPES = ( { "title" => "default suffix",
"suf" => ".resolved",
"opts" => sub { }, },
{ "title" => "custom suffix",
"suf" => undef,
"opts" => sub { ("-s", $_[0]); }, }, );
# All the trim-suffix information
@TSUFTYPES = ( { "title" => "default trim-suffix",
"suf" => "",
"opts" => sub { }, },
{ "title" => "custom trim-suffix",
"suf" => undef,
"opts" => sub { ("-t", $_[0]); }, }, );
# thisfile: Return the name of this file
sub thisfile() { basename($0); }
# fread: A simple reader to read a log file in any supported format
sub fread($) {
local ($_, %_);
my ($file, $content);
$file = $_[0];
# non-existing file
return undef if !-e $file;
# a gzip compressed file
if ($file =~ /\.gz$/) {
# Compress::Zlib
if (eval { require Compress::Zlib;
import Compress::Zlib qw(gzopen);
1; }) {
my ($FH, $gz);
$content = "";
open $FH, $file or die thisfile . ": $file: $!";
$gz = gzopen($FH, "rb") or die thisfile . ": $file: $!";
while (1) {
($gz->gzread($_, 10240) != -1)
or die thisfile . ": $file: " . $gz->gzerror;
$content .= $_;
last if length $_ < 10240;
}
$gz->gzclose and die thisfile . ": $file: " . $gz->gzerror;
return $content;
# gzip executable
} else {
my ($PH, $CMD);
$CMD = whereis "gzip";
$CMD = "\"$CMD\" -cd \"$file\"";
open $PH, "$CMD |" or die thisfile . ": $CMD: $!";
$content = join "", <$PH>;
close $PH or die thisfile . ": $CMD: $!";
return $content;
}
# a bzip compressed file
} elsif ($file =~ /\.bz2$/) {
# Compress::Bzip2
if (eval { require Compress::Bzip2;
import Compress::Bzip2 2.00;
import Compress::Bzip2 qw(bzopen);
1; }) {
my ($FH, $bz);
$content = "";
open $FH, $file or die thisfile . ": $file: $!";
$bz = bzopen($FH, "rb") or die thisfile . ": $file: $!";
while (1) {
($bz->bzread($_, 10240) != -1)
or die thisfile . ": $file: " . $bz->bzerror;
$content .= $_;
last if length $_ < 10240;
}
$bz->bzclose and die thisfile . ": $file: " . $bz->bzerror;
return $content;
# bzip2 executable
} else {
my ($PH, $CMD);
$CMD = whereis "bzip2";
$CMD = "bzip2 -cd \"$file\"";
open $PH, "$CMD |" or die thisfile . ": $CMD: $!";
$content = join "", <$PH>;
close $PH or die thisfile . ": $CMD: $!";
return $content;
}
# a plain text file
} else {
my $FH;
open $FH, $file or die thisfile . ": $file: $!";
$content = join "", <$FH>;
close $FH or die thisfile . ": $file: $!";
return $content;
}
}
# frread: A raw file reader
sub frread($) {
local ($_, %_);
my ($file, $content, $FH, $size);
$file = $_[0];
# non-existing file
return undef if !-e $file;
$size = (stat $file)[7];
open $FH, $file or die thisfile . ": $file: $!";
binmode $FH or die thisfile . ": $file: $!";
(read($FH, $content, $size) == $size)
or die thisfile . ": $file: $!";
close $FH or die thisfile . ": $file: $!";
return $content;
}
# fwrite: A simple writer to write a log file in any supported format
sub fwrite($$) {
local ($_, %_);
my ($file, $content);
($file, $content) = @_;
# a gzip compressed file
if ($file =~ /\.gz$/) {
# Compress::Zlib
if (eval { require Compress::Zlib;
import Compress::Zlib qw(gzopen);
1; }) {
my ($FH, $gz);
open $FH, ">$file" or die thisfile . ": $file: $!";
$gz = gzopen($FH, "wb9") or die thisfile . ": $file: $!";
($gz->gzwrite($content) == length $content)
or die thisfile . ": $file: " . $gz->gzerror;
$gz->gzclose and die thisfile . ": $file: " . $gz->gzerror;
return;
# gzip executable
} else {
my ($PH, $CMD);
$CMD = whereis "gzip";
$CMD = "\"$CMD\" -c9f > \"$file\"";
open $PH, "| $CMD" or die thisfile . ": $CMD: $!";
print $PH $content or die thisfile . ": $CMD: $!";
close $PH or die thisfile . ": $CMD: $!";
return;
}
# a bzip compressed file
} elsif ($file =~ /\.bz2$/) {
# Compress::Bzip2
if (eval { require Compress::Bzip2;
import Compress::Bzip2 2.00;
import Compress::Bzip2 qw(bzopen);
1; }) {
my ($FH, $bz);
open $FH, ">$file" or die thisfile . ": $file: $!";
$bz = bzopen($FH, "wb9") or die thisfile . ": $file: $!";
if ($content ne "") {
($bz->bzwrite($content, length $content) == length $content)
or die thisfile . ": $file: " . $bz->bzerror;
}
$bz->bzclose and die thisfile . ": $file: " . $bz->bzerror;
return;
# bzip2 executable
} else {
my ($PH, $CMD);
$CMD = whereis "bzip2";
$CMD = "\"$CMD\" -9f > \"$file\"";
open $PH, "| $CMD" or die thisfile . ": $CMD: $!";
print $PH $content or die thisfile . ": $CMD: $!";
close $PH or die thisfile . ": $CMD: $!";
return;
}
# a plain text file
} else {
my $FH;
open $FH, ">$file" or die thisfile . ": $file: $!";
print $FH $content or die thisfile . ": $file: $!";
close $FH or die thisfile . ": $file: $!";
return;
}
}
# frwrite: A raw file writer
sub frwrite($$) {
local ($_, %_);
my ($file, $content, $FH);
($file, $content) = @_;
open $FH, ">$file" or die thisfile . ": $file: $!";
binmode $FH or die thisfile . ": $file: $!";
print $FH $content or die thisfile . ": $file: $!";
close $FH or die thisfile . ": $file: $!";
return;
}
# runcmd: Run a command and return the result
sub runcmd($@) {
local ($_, %_);
my ($retno, $out, $err, $in, @cmd, $cmd, $OUT, $ERR, $STDOUT, $STDERR, $PH);
($in, @cmd) = @_;
$err = "Running " . join(" ", map "\"$_\"", @cmd) . "\n";
$out = "";
open $STDOUT, ">&", \*STDOUT or die thisfile . ": STDOUT: $!";
open $STDERR, ">&", \*STDERR or die thisfile . ": STDERR: $!";
$OUT = tempfile or die thisfile . ": tempfile: $!";
binmode $OUT or die thisfile . ": tempfile: $!";
$ERR = tempfile or die thisfile . ": tempfile: $!";
binmode $ERR or die thisfile . ": tempfile: $!";
open STDOUT, ">&", $OUT or die thisfile . ": tempfile: $!";
binmode STDOUT or die thisfile . ": tempfile: $!";
open STDERR, ">&", $ERR or die thisfile . ": tempfile: $!";
binmode STDERR or die thisfile . ": tempfile: $!";
$cmd = join " ", map "\"$_\"", @cmd;
if ($^O eq "MSWin32") {
open $PH, "| $cmd" or die thisfile . ": $cmd: $!";
} else {
open $PH, "|-", @cmd or die thisfile . ": $cmd: $!";
}
binmode $PH or die thisfile . ": $cmd: $!";
print $PH $in or die thisfile . ": $cmd: $!";
close $PH;
$retno = $?;
open STDOUT, ">&", $STDOUT or die thisfile . ": tempfile: $!";
open STDERR, ">&", $STDERR or die thisfile . ": tempfile: $!";
seek $OUT, 0, SEEK_SET or die thisfile . ": tempfile: $!";
$out = join "", <$OUT>;
close $OUT or die thisfile . ": tempfile: $!";
seek $ERR, 0, SEEK_SET or die thisfile . ": tempfile: $!";
$err = join "", <$ERR>;
close $ERR or die thisfile . ": tempfile: $!";
return ($retno, $out, $err);
}
# whereis: Find an executable
# Code inspired from CPAN::FirstTime
sub whereis($) {
local ($_, %_);
my ($file, $path);
$file = $_[0];
return $WHEREIS{$file} if exists $WHEREIS{$file};
foreach my $dir (path) {
return ($WHEREIS{$file} = $path)
if defined($path = MM->maybe_command(catfile($dir, $file)));
}
return ($WHEREIS{$file} = undef);
}
# ftype: Find the file type
sub ftype($) {
local ($_, %_);
my $file;
$file = $_[0];
return undef unless -e $file;
# Use File::MMagic
if (eval { require File::MMagic; 1; }) {
$_ = new File::MMagic->checktype_filename($file);
return TYPE_GZIP if /gzip/;
return TYPE_BZIP2 if /bzip2/;
# All else are text/plain
return TYPE_PLAIN;
}
# Use file executable
if (defined($_ = whereis "file")) {
$_ = join "", `"$_" "$file"`;
return TYPE_GZIP if /gzip/;
return TYPE_BZIP2 if /bzip2/;
# All else are text/plain
return TYPE_PLAIN;
}
# No type checker available
return undef;
}
# flist: Obtain the files list in a directory
sub flist($) {
local ($_, %_);
my ($dir, $DH);
$dir = $_[0];
@_ = qw();
opendir $DH, $dir or die thisfile . ": $dir: $!";
while (defined($_ = readdir $DH)) {
next if $_ eq "." || $_ eq ".." || !-f "$dir/$_";
push @_, $_;
}
closedir $DH or die thisfile . ": $dir: $!";
return join " ", sort @_;
}
# prsrvsrc: Preserve the source test files
sub prsrvsrc($) {
local ($_, %_);
my ($dir, $DH);
$dir = $_[0];
@_ = qw();
opendir $DH, $dir or die thisfile . ": $dir: $!";
while (defined($_ = readdir $DH)) {
next if $_ eq "." || $_ eq ".." || !-f "$dir/$_";
push @_, $_;
}
closedir $DH or die thisfile . ": $dir: $!";
rmtree "$dir/source";
mkpath "$dir/source";
frwrite "$dir/source/$_", frread "$dir/$_"
foreach @_;
return;
}
# cleanup: Clean up the test files
sub cleanup($$$) {
local ($_, %_);
my ($r, $dir, $testno, $testname, $c);
($r, $dir, $testno) = @_;
# Nothing to clean up
return unless -e $dir;
# Success
if ($r) {
rmtree $dir;
return;
}
# Fail - keep the test files for debugging
$testname = basename((caller)[1]);
$testname =~ s/\.t$//;
$c = 1;
$c++ while -e ($_ = "$dir.$testname.$testno.$c");
rename $dir, $_ or die thisfile . ": $dir, $_: $!";
return;
}
# nofile: If we have the file type checker somewhere
sub nofile() {
$NOFILE = eval { require File::MMagic; 1; }
|| defined whereis "file"?
0: "File::MMagic or file executable not available"
if !defined $NOFILE;
return $NOFILE;
}
# nogzip: If we have gzip support somewhere
sub nogzip() {
$NOGZIP = eval { require Compress::Zlib; 1; }
|| defined whereis "gzip"?
0: "Compress::Zlib or gzip executable not available"
if !defined $NOGZIP;
return $NOGZIP;
}
# nobzip2: If we have bzip2 support somewhere
sub nobzip2() {
$NOBZIP2 = eval { require Compress::Bzip2; import Compress::Bzip2 2.00; 1; }
|| defined whereis "bzip2"?
0: "Compress::Bzip2 v2 or bzip2 executable not available"
if !defined $NOBZIP2;
return $NOBZIP2;
}
# mkrndlog_normal: Create a normal random log file
sub mkrndlog_normal($) {
local ($_, %_);
my ($file, $hosts, @host_is_ip, @logs, $t, $content, $malformed, $tz);
my (%rlogs, $rcontent);
$file = $_[0];
@logs = qw();
%rlogs = qw();
# Start from sometime in the past year
$t = time - int rand(86400*365);
# Time zone
$tz = (-12 + (int rand 53) / 2) * 3600;
# 3-5 hosts
$hosts = 3 + int rand 3;
# Host type: 1: IP, 0: domain name
@host_is_ip = qw();
push @host_is_ip, 0 while @host_is_ip < $hosts;
# We need exactly 2 IP
$host_is_ip[int rand $hosts] = 1
while grep($_ == 1, @host_is_ip) < 2;
foreach my $is_ip (@host_is_ip) {
my ($host, $rhost, $user, $htver, @hlogs, $hlogs);
if ($is_ip) {
# Generate a random IP
($host, $rhost) = randip;
} else {
# Generate a random domain name
# 3-5 levels, end with net or com
$_ = 2 + int rand 3;
@_ = qw();
push @_, randword while @_ < $_;
push @_, (qw(net com))[int rand 2];
$host = join ".", @_;
$rhost = $host;
}
$user = (0, 0, 1)[int rand 3]? "-": randword;
$htver = (qw(HTTP/1.1 HTTP/1.1 HTTP/1.1 HTTP/1.0))[int rand 4];
# 3-5 log entries foreach host
$hlogs = 3 + int rand 3;
@hlogs = qw();
while (@hlogs < $hlogs) {
my ($ttxt, $method, $url, $dirs, @dirs, $type, $status, $size);
my $record;
# 0-2 seconds later
$t += int rand 3;
# Time text
@_ = gmtime($t + $tz);
$_[5] += 1900;
$_[4] = (qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec))[$_[4]];
$ttxt = sprintf "%02d/%s/%04d:%02d:%02d:%02d %+05d",
@_[3,4,5,2,1,0],
int($tz / 3600) * 100 + ($tz - int($tz / 3600) * 3600) / 60;
$method = (qw(GET GET GET HEAD POST))[int rand 5];
# Generate a random URL
# 0-3 levels of directories
$dirs = int rand 4;
@dirs = qw();
push @dirs, "/" . randword while @dirs < $dirs;
$type = ("", qw(html html txt css png jpg))[int rand 7];
if ($type eq "") {
$url = join("", @dirs) . "/";
} else {
$url = join("", @dirs) . "/" . randword . ".$type";
}
$status = (200, 200, 200, 200, 304, 400, 403, 404)[int rand 8];
if ($status == 304) {
$size = 0;
} else {
$size = 200 + int rand 35000;
}
$record = sprintf "%s - %s [%s] \"%s %s %s\" %d %d\n",
$host, $user, $ttxt, $method, $url, $htver, $status, $size;
$rlogs{$record} = sprintf "%s - %s [%s] \"%s %s %s\" %d %d\n",
$rhost, $user, $ttxt, $method, $url, $htver, $status, $size;
push @hlogs, $record;
}
push @logs, @hlogs;
# 0-5 seconds later
$t += int rand 6;
}
# Insert 1-2 malformed lines
$malformed = 1 + int rand 2;
while ($malformed > 0) {
my ($line, $pos);
# Generate the random malformed line
$_ = 3 + int rand 5;
@_ = qw();
push @_, randword while @_ < $_;
$line = join(" ", @_) . ".\n";
$line =~ s/^(.)/uc $1/e;
# The position to insert the line
$_ = int rand @logs;
@logs = (@logs[0...$_], $line, @logs[$_+1...$#logs]);
$malformed--;
}
# Compose the content
$content = join "", @logs;
$rcontent = join "", map exists $rlogs{$_}? $rlogs{$_}: $_, @logs;
# Output the file
fwrite($file, $content);
# Return the content
return ($content, $rcontent);
}
# mkrndlog_noip: Create a random log file without IP.
sub mkrndlog_noip($) {
local ($_, %_);
my ($file, $hosts, @logs, $t, $content, $malformed, $tz);
$file = $_[0];
@logs = qw();
# Start from sometime in the past year
$t = time - int rand(86400*365);
# Time zone
$tz = (-12 + (int rand 53) / 2) * 3600;
# 3-5 hosts
$hosts = 3 + int rand 3;
for (my $i = 0; $i < $hosts; $i++) {
my ($host, $user, $htver, @hlogs, $hlogs);
# Generate a random domain name
# 3-5 levels, end with net or com
$_ = 2 + int rand 3;
@_ = qw();
push @_, randword while @_ < $_;
push @_, (qw(net com))[int rand 2];
$host = join ".", @_;
$user = (0, 0, 1)[int rand 3]? "-": randword;
$htver = (qw(HTTP/1.1 HTTP/1.1 HTTP/1.1 HTTP/1.0))[int rand 4];
# 3-5 log entries foreach host
$hlogs = 3 + int rand 3;
@hlogs = qw();
while (@hlogs < $hlogs) {
my ($ttxt, $method, $url, $dirs, @dirs, $type, $status, $size);
# 0-2 seconds later
$t += int rand 3;
# Time text
@_ = gmtime($t + $tz);
$_[5] += 1900;
$_[4] = (qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec))[$_[4]];
$ttxt = sprintf "%02d/%s/%04d:%02d:%02d:%02d %+05d",
@_[3,4,5,2,1,0],
int($tz / 3600) * 100 + ($tz - int($tz / 3600) * 3600) / 60;
$method = (qw(GET GET GET HEAD POST))[int rand 5];
# Generate a random URL
# 0-3 levels of directories
$dirs = int rand 4;
@dirs = qw();
push @dirs, "/" . randword while @dirs < $dirs;
$type = ("", qw(html html txt css png jpg))[int rand 7];
if ($type eq "") {
$url = join("", @dirs) . "/";
} else {
$url = join("", @dirs) . "/" . randword . ".$type";
}
$status = (200, 200, 200, 200, 304, 400, 403, 404)[int rand 8];
if ($status == 304) {
$size = 0;
} else {
$size = 200 + int rand 35000;
}
push @hlogs, sprintf "%s - %s [%s] \"%s %s %s\" %d %d\n",
$host, $user, $ttxt, $method, $url, $htver, $status, $size;
}
push @logs, @hlogs;
# 0-5 seconds later
$t += int rand 6;
}
# Insert 1-2 malformed lines
$malformed = 1 + int rand 2;
while ($malformed > 0) {
my ($line, $pos);
# Generate the random malformed line
$_ = 3 + int rand 5;
@_ = qw();
push @_, randword while @_ < $_;
$line = join(" ", @_) . ".\n";
$line =~ s/^(.)/uc $1/e;
# The position to insert the line
$_ = int rand @logs;
@logs = (@logs[0...$_], $line, @logs[$_+1...$#logs]);
$malformed--;
}
# Compose the content
$content = join "", @logs;
# Output the file
fwrite($file, $content);
# Return the content
return ($content, $content);
}
# mkrndlog_empty: Create an empty log file.
sub mkrndlog_empty($) {
local ($_, %_);
$_ = $_[0];
fwrite($_, "");
return ("", "");
}
# randword: Supply a random English word
sub randword() {
local ($_, %_);
@_ = qw(
culminates spector thule tamil sages fasten bothers intricately librarian
mist criminate impressive scissor trance standardizing enabler athenians
planers decisions salvation wetness fibers cowardly winning call stockton
bifocal rapacious steak reinserts overhaul glaringly playwrights wagoner
garland hampered effie messy despaired orthodoxy bacterial bernardine driving
danization vapors uproar sects litmus sutton lacrosse);
return $_[int rand @_];
}
# randip: Supply a random IP
# Big public web companies have more reliable reverse DNS
sub randip() {
local ($_, %_);
# Initialize our resolvable IP pool
if (!defined $RANDIP) {
my (@ip, @hosts);
$RANDIP = {};
@ip = qw();
# Famous websites - they are resolved to several IPs, and their
# reverse domain is guarenteed by the akadns.net service.
foreach my $host (qw(www.google.com
www.yahoo.com www.microsoft.com)) {
# Find the addresses
push @ip, map join(".", unpack "C4", $_), @_[4...$#_]
if (@_ = gethostbyname $host) > 0;
}
# 127.0.0.1 may be resolved to localhost
push @ip, "127.0.0.1";
foreach my $ip (@ip) {
my $host;
# Find its reverse lookup domain name
next if !defined($host = gethostbyaddr inet_aton($ip), AF_INET);
# Find the address again
next unless (@_ = gethostbyname $host) > 0;
next if (@_ = @_[4...$#_]) > 1;
$_ = join ".", unpack "C4", $_[0];
# Not match
next if $_ ne $ip;
# OK. Record it.
$$RANDIP{$ip} = $host;
}
# Hosts reliably resolve to themselves
@hosts = qw();
# My own hosts
push @hosts, qw(rinse.wov.idv.tw cotton.wov.idv.tw);
# Yahoo! mail servers
for (my $i = 101; $i <= 109; $i++) {
push @hosts, "smtp$i.mail.mud.yahoo.com";
}
# HiNet mail servers
for (my $i = 1; $i <= 89; $i++) {
push @hosts, "ms$i.hinet.net"
if $i % 10 != 0;
}
foreach my $host (@hosts) {
my $ip;
# Find the address
next unless (@_ = gethostbyname $host) > 0;
next if (@_ = @_[4...$#_]) > 1;
$ip = join ".", unpack "C4", $_[0];
# Find its reverse lookup domain name again
next if !defined($_ = gethostbyaddr inet_aton($ip), AF_INET);
# Not match
next if $_ ne $host;
# OK. Record it.
$$RANDIP{$ip} = $host;
}
}
# 1: Resolvables
if (keys %$RANDIP > 0 && int rand 2) {
@_ = sort keys %$RANDIP;
$_ = $_[int rand @_];
return ($_, $$RANDIP{$_});
}
# 0: Unresolvables
# Use loopback (127.0.0.0/8) and link local (169.254.0.0/16)
do {
if (int rand 2) {
$_ = join ".", 127, int rand 255, int rand 255, 1 + int rand 254;
} else {
$_ = join ".", 169, 254, int rand 255, 1 + int rand 254;
}
} until !defined gethostbyaddr inet_aton($_), AF_INET;
return ($_, $_);
}
1;
__END__