2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Updated INPUT FILE section.
	* doc/aria2c.1.txt
pull/1/head
Tatsuhiro Tsujikawa 2008-11-18 11:36:24 +00:00
parent a38e367f7f
commit 567a53082f
4 changed files with 28 additions and 15 deletions

View File

@ -1,3 +1,8 @@
2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated INPUT FILE section.
* doc/aria2c.1.txt
2008-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Excluded testLoad_compat() and testLoad_nonBt_compat() when compiled

View File

@ -1,11 +1,11 @@
.\" Title: aria2c
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
.\" Date: 11/16/2008
.\" Date: 11/18/2008
.\" Manual:
.\" Source:
.\"
.TH "ARIA2C" "1" "11/16/2008" "" ""
.TH "ARIA2C" "1" "11/18/2008" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@ -1441,7 +1441,7 @@ The input file can contain list of URIs to feed them into aria2\&. You can speci
.sp
Each line is treated as if it is provided in command\-line argument\&. Therefore they are affected by \fB\-Z\fR and \fB\-P\fR options\&. The additional \fBout\fR and \fBdir\fR options can be specified after each line of URIs\&. This optional line must start with white space(s)\&.
.sp
For example, the content of uri\&.txt is:
For example, let the content of uri\&.txt be
.sp
.sp
.RS 4
@ -1452,7 +1452,9 @@ http://server/file\&.iso http://mirror/file\&.iso
http://foo/bar
.fi
.RE
and if aria2 is executed with \-i uri\&.txt \-d /tmp options, then file\&.iso is saved as /iso_images/file\&.img and it is downloaded from http://server/file\&.iso and http://mirror/file\&.iso\&. The file bar is downloaded from http://foo/bar and saved as /tmp/bar\&.
If aria2 is executed with \fB\-i\fR uri\&.txt \fB\-d\fR /tmp options, then \fIfile\&.iso\fR is saved as \fI/iso_images/file\&.img\fR and it is downloaded from http://server/file\&.iso and http://mirror/file\&.iso\&. The file \fIbar\fR is downloaded from http://foo/bar and saved as \fI/tmp/bar\fR\&.
.sp
In some cases, \fBout\fR parameter has no effect\&. See note of \fB\-\-out\fR option for the restrictions\&.
.sp
.SH "SERVER PERFORMANCE PROFILE"
This section describes the format of server performance profile\&. The file is plain text and each line has several NAME=VALUE pair, delimited by comma\&. Currently following NAMEs are recognized:

View File

@ -1838,7 +1838,7 @@ separate URIs on a single line using the TAB character.</p></div>
Therefore they are affected by <strong>-Z</strong> and <strong>-P</strong> options.
The additional <strong>out</strong> and <strong>dir</strong> options can be specified after each line of
URIs. This optional line must start with white space(s).</p></div>
<div class="para"><p>For example, the content of uri.txt is:</p></div>
<div class="para"><p>For example, let the content of uri.txt be</p></div>
<div class="listingblock">
<div class="content">
<pre><tt>http://server/file.iso http://mirror/file.iso
@ -1846,10 +1846,12 @@ URIs. This optional line must start with white space(s).</p></div>
out=file.img
http://foo/bar</tt></pre>
</div></div>
<div class="para"><p>and if aria2 is executed with -i uri.txt -d /tmp options,
then file.iso is saved as /iso_images/file.img and it is downloaded from
<div class="para"><p>If aria2 is executed with <strong>-i</strong> uri.txt <strong>-d</strong> /tmp options,
then <em>file.iso</em> is saved as <em>/iso_images/file.img</em> and it is downloaded from
http://server/file.iso and http://mirror/file.iso.
The file bar is downloaded from http://foo/bar and saved as /tmp/bar.</p></div>
The file <em>bar</em> is downloaded from http://foo/bar and saved as <em>/tmp/bar</em>.</p></div>
<div class="para"><p>In some cases, <strong>out</strong> parameter has no effect.
See note of <strong>--out</strong> option for the restrictions.</p></div>
</div>
<h2 id="_server_performance_profile">SERVER PERFORMANCE PROFILE</h2>
<div class="sectionbody">
@ -2028,7 +2030,7 @@ files in the program, then also delete it here.</p></div>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2008-11-16 17:34:48 JST
Last updated 2008-11-18 20:35:15 JST
</div>
</div>
</body>

View File

@ -896,18 +896,22 @@ Therefore they are affected by *-Z* and *-P* options.
The additional *out* and *dir* options can be specified after each line of
URIs. This optional line must start with white space(s).
For example, the content of uri.txt is:
---------------------------------------------
For example, let the content of uri.txt be
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://server/file.iso http://mirror/file.iso
dir=/iso_images
out=file.img
http://foo/bar
---------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and if aria2 is executed with -i uri.txt -d /tmp options,
then file.iso is saved as /iso_images/file.img and it is downloaded from
If aria2 is executed with *-i* uri.txt *-d* /tmp options,
then 'file.iso' is saved as '/iso_images/file.img' and it is downloaded from
\http://server/file.iso and \http://mirror/file.iso.
The file bar is downloaded from \http://foo/bar and saved as /tmp/bar.
The file 'bar' is downloaded from \http://foo/bar and saved as '/tmp/bar'.
In some cases, *out* parameter has no effect.
See note of *--out* option for the restrictions.
SERVER PERFORMANCE PROFILE
--------------------------