mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 05:57:54 +00:00
parallel: Allow -E 0 and -i 0
Documentation changes
This commit is contained in:
parent
46165d49d1
commit
b4a51e40ee
|
@ -246,6 +246,10 @@ parallel -mj1 sort -nm {} ";"rm {}
|
||||||
# If GNU Parallel saves you money:
|
# If GNU Parallel saves you money:
|
||||||
# * (Have your company) donate to FSF https://my.fsf.org/donate/
|
# * (Have your company) donate to FSF https://my.fsf.org/donate/
|
||||||
#
|
#
|
||||||
|
# If you use GNU Parallel for a publication please cite:
|
||||||
|
# O. Tange (2011): GNU Parallel - The Command-Line Power Tool, ;login:
|
||||||
|
# The USENIX Magazine, February 2011:42-47.
|
||||||
|
#
|
||||||
# Find GNU Parallel at http://www.gnu.org/software/parallel/
|
# Find GNU Parallel at http://www.gnu.org/software/parallel/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -159,9 +159,9 @@ New in this release:
|
||||||
|
|
||||||
By putting --tollef in the site wide config file you can deinstall
|
By putting --tollef in the site wide config file you can deinstall
|
||||||
Tollef's parallel and install GNU Parallel instead without any
|
Tollef's parallel and install GNU Parallel instead without any
|
||||||
change for users or scripts. This is useful for packagers that do
|
change for users or scripts. This is useful for packagers that
|
||||||
not distribute GNU Parallel because the command name conflicts with
|
currently do not distribute GNU Parallel because the command name
|
||||||
Tollef's parallel.
|
conflicts with Tollef's parallel.
|
||||||
|
|
||||||
* -L 0 -n 0, and -N 0 implemented. They will read one argument,
|
* -L 0 -n 0, and -N 0 implemented. They will read one argument,
|
||||||
but insert 0 arguments on the command line. Useful if you just want
|
but insert 0 arguments on the command line. Useful if you just want
|
||||||
|
@ -176,6 +176,10 @@ New in this release:
|
||||||
* Man page examples translated into Japanese. Thanks to Koshigoe.
|
* Man page examples translated into Japanese. Thanks to Koshigoe.
|
||||||
http://w.koshigoe.jp/study/?%5Bsystem%5D+GNU+parallel+%BB%C8%CD%D1%CE%E3#l13
|
http://w.koshigoe.jp/study/?%5Bsystem%5D+GNU+parallel+%BB%C8%CD%D1%CE%E3#l13
|
||||||
|
|
||||||
|
* Video of presentation from FSCONS 2010-11-07. The presenter was
|
||||||
|
_really_ hoarse that day (Something to do with loads of alcohol the
|
||||||
|
night before). http://vimeo.com/20838834
|
||||||
|
|
||||||
* Review with examples in German. Thanks to M. Nieberg.
|
* Review with examples in German. Thanks to M. Nieberg.
|
||||||
http://kenntwas.de/2011/linux/gnu-parallel/
|
http://kenntwas.de/2011/linux/gnu-parallel/
|
||||||
|
|
||||||
|
@ -188,6 +192,9 @@ New in this release:
|
||||||
* Using GNU Parallel instead of xargs. Thanks to James Cuff.
|
* Using GNU Parallel instead of xargs. Thanks to James Cuff.
|
||||||
http://blog.jcuff.net/2011/02/on-train-ride-in.html
|
http://blog.jcuff.net/2011/02/on-train-ride-in.html
|
||||||
|
|
||||||
|
* Using GNU Parallel from 0install (German). Thanks to AdaMin.
|
||||||
|
http://forum.ubuntuusers.de/topic/gnu-parallel-mit-zero-install-kurzinfo-kein-wi/
|
||||||
|
|
||||||
* Bug fixes and man page updates.
|
* Bug fixes and man page updates.
|
||||||
|
|
||||||
|
|
||||||
|
@ -217,4 +224,8 @@ http://www.gnu.org/software/parallel/
|
||||||
Watch the intro video on http://www.youtube.com/watch?v=OpaiGYxkSuQ or
|
Watch the intro video on http://www.youtube.com/watch?v=OpaiGYxkSuQ or
|
||||||
at http://tinyogg.com/watch/TORaR/ and http://tinyogg.com/watch/hfxKj/
|
at http://tinyogg.com/watch/TORaR/ and http://tinyogg.com/watch/hfxKj/
|
||||||
|
|
||||||
|
When using GNU Parallel for a publication please cite:
|
||||||
|
|
||||||
|
O. Tange (2011): GNU Parallel - The Command-Line Power Tool, ;login:
|
||||||
|
The USENIX Magazine, February 2011:42-47.
|
||||||
>>>>>
|
>>>>>
|
||||||
|
|
|
@ -49,6 +49,8 @@ average is checked again and we start over.</p>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<h1><a name="author">Author</a></h1>
|
<h1><a name="author">Author</a></h1>
|
||||||
|
<p>When using GNU Parallel for a publication please cite:</p>
|
||||||
|
<p>O. Tange (2011): GNU Parallel - The Command-Line Power Tool, ;login: The USENIX Magazine, February 2011:42-47.</p>
|
||||||
<p>Copyright (C) 2007-10-18 Ole Tange, <a href="http://ole.tange.dk">http://ole.tange.dk</a></p>
|
<p>Copyright (C) 2007-10-18 Ole Tange, <a href="http://ole.tange.dk">http://ole.tange.dk</a></p>
|
||||||
<p>Copyright (C) 2008,2009,2010 Ole Tange, <a href="http://ole.tange.dk">http://ole.tange.dk</a></p>
|
<p>Copyright (C) 2008,2009,2010 Ole Tange, <a href="http://ole.tange.dk">http://ole.tange.dk</a></p>
|
||||||
<p>Copyright (C) 2010,2011 Ole Tange, <a href="http://ole.tange.dk">http://ole.tange.dk</a> and Free
|
<p>Copyright (C) 2010,2011 Ole Tange, <a href="http://ole.tange.dk">http://ole.tange.dk</a> and Free
|
||||||
|
|
|
@ -423,12 +423,12 @@ sub parse_options {
|
||||||
if(defined $::opt_verbose) { $Global::stderr_verbose = 1; }
|
if(defined $::opt_verbose) { $Global::stderr_verbose = 1; }
|
||||||
if(defined $::opt_I) { $Global::replace{'{}'} = $::opt_I; }
|
if(defined $::opt_I) { $Global::replace{'{}'} = $::opt_I; }
|
||||||
if(defined $::opt_U) { $Global::replace{'{.}'} = $::opt_U; }
|
if(defined $::opt_U) { $Global::replace{'{.}'} = $::opt_U; }
|
||||||
if(defined $::opt_i and $::opt_i) { $Global::replace{'{}'} = $::opt_i; }
|
if(defined $::opt_i) { $Global::replace{'{}'} = $::opt_i; }
|
||||||
if(defined $::opt_basenamereplace) { $Global::replace{'{/}'} = $::opt_basenamereplace; }
|
if(defined $::opt_basenamereplace) { $Global::replace{'{/}'} = $::opt_basenamereplace; }
|
||||||
if(defined $::opt_basenameextensionreplace) {
|
if(defined $::opt_basenameextensionreplace) {
|
||||||
$Global::replace{'{/.}'} = $::opt_basenameextensionreplace;
|
$Global::replace{'{/.}'} = $::opt_basenameextensionreplace;
|
||||||
}
|
}
|
||||||
if(defined $::opt_E and $::opt_E) { $Global::end_of_file_string = $::opt_E; }
|
if(defined $::opt_E) { $Global::end_of_file_string = $::opt_E; }
|
||||||
if(defined $::opt_n) { $Global::max_number_of_args = $::opt_n; }
|
if(defined $::opt_n) { $Global::max_number_of_args = $::opt_n; }
|
||||||
if(defined $::opt_N) { $Global::max_number_of_args = $::opt_N; }
|
if(defined $::opt_N) { $Global::max_number_of_args = $::opt_N; }
|
||||||
if(defined $::opt_tmpdir) { $ENV{'TMPDIR'} = $::opt_tmpdir; }
|
if(defined $::opt_tmpdir) { $ENV{'TMPDIR'} = $::opt_tmpdir; }
|
||||||
|
@ -1538,7 +1538,10 @@ sub version {
|
||||||
"This is free software: you are free to change and redistribute it.",
|
"This is free software: you are free to change and redistribute it.",
|
||||||
"GNU $Global::progname comes with no warranty.",
|
"GNU $Global::progname comes with no warranty.",
|
||||||
"",
|
"",
|
||||||
"Web site: http://www.gnu.org/software/${Global::progname}\n"
|
"Web site: http://www.gnu.org/software/${Global::progname}\n",
|
||||||
|
"When using GNU Parallel for a publication please cite:\n",
|
||||||
|
"O. Tange (2011): GNU Parallel - The Command-Line Power Tool, ",
|
||||||
|
";login: The USENIX Magazine, February 2011:42-47.\n",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2611,11 +2611,16 @@ B<cat hostlist | parallel ssh {} do_stuff>
|
||||||
|
|
||||||
Because of the way newline is quoted this will not work:
|
Because of the way newline is quoted this will not work:
|
||||||
|
|
||||||
echo 1,2,3 | parallel -vkd, "echo 'a{}'"
|
echo 1,2,3 | parallel -vkd, "echo 'a{}b'"
|
||||||
|
|
||||||
However, this will work:
|
However, these will all work:
|
||||||
|
|
||||||
|
echo 1,2,3 | parallel -vkd, echo a{}b
|
||||||
|
|
||||||
|
echo 1,2,3 | parallel -vkd, "echo 'a'{}'b'"
|
||||||
|
|
||||||
|
echo 1,2,3 | parallel -vkd, "echo 'a'"{}"'b'"
|
||||||
|
|
||||||
echo 1,2,3 | parallel -vkd, echo a{}
|
|
||||||
|
|
||||||
=head2 Startup speed
|
=head2 Startup speed
|
||||||
|
|
||||||
|
@ -2639,11 +2644,17 @@ you file a bug-report.
|
||||||
|
|
||||||
=head1 REPORTING BUGS
|
=head1 REPORTING BUGS
|
||||||
|
|
||||||
Report bugs to <bug-parallel@gnu.org> or https://savannah.gnu.org/bugs/?func=additem&group=parallel
|
Report bugs to <bug-parallel@gnu.org> or
|
||||||
|
https://savannah.gnu.org/bugs/?func=additem&group=parallel
|
||||||
|
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
|
When using GNU Parallel for a publication please cite:
|
||||||
|
|
||||||
|
O. Tange (2011): GNU Parallel - The Command-Line Power Tool, ;login:
|
||||||
|
The USENIX Magazine, February 2011:42-47.
|
||||||
|
|
||||||
Copyright (C) 2007-10-18 Ole Tange, http://ole.tange.dk
|
Copyright (C) 2007-10-18 Ole Tange, http://ole.tange.dk
|
||||||
|
|
||||||
Copyright (C) 2008,2009,2010 Ole Tange, http://ole.tange.dk
|
Copyright (C) 2008,2009,2010 Ole Tange, http://ole.tange.dk
|
||||||
|
|
Loading…
Reference in a new issue