mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-22 20:57:53 +00:00
parallel: --slf . now reads /etc/parallel/sshloginfile
This commit is contained in:
parent
379c0cd36b
commit
add040c278
|
@ -1490,6 +1490,9 @@ sub read_sshloginfile {
|
|||
if($file eq "..") {
|
||||
$file = $ENV{'HOME'}."/.parallel/sshloginfile";
|
||||
}
|
||||
if($file eq ".") {
|
||||
$file = "/etc/parallel/sshloginfile";
|
||||
}
|
||||
if($file eq "-") {
|
||||
*IN = *STDIN;
|
||||
$close = 0;
|
||||
|
|
|
@ -1113,9 +1113,9 @@ B<--sshlogin> is often used with B<--transfer>, B<--return>,
|
|||
B<--cleanup>, and B<--trc>.
|
||||
|
||||
|
||||
=item B<--sshloginfile> I<filename>
|
||||
=item B<--sshloginfile> I<filename> (alpha testing)
|
||||
|
||||
=item B<--slf> I<filename>
|
||||
=item B<--slf> I<filename> (alpha testing)
|
||||
|
||||
File with sshlogins. The file consists of sshlogins on separate
|
||||
lines. Empty lines and lines starting with '#' are ignored. Example:
|
||||
|
@ -1143,6 +1143,9 @@ Multiple B<--sshloginfile> are allowed.
|
|||
The sshloginfile '..' is special, it read sshlogins from
|
||||
~/.parallel/sshloginfile
|
||||
|
||||
The sshloginfile '.' is special, it read sshlogins from
|
||||
/etc/parallel/sshloginfile
|
||||
|
||||
The sshloginfile '-' is special, too, it read sshlogins from stdin
|
||||
(standard input).
|
||||
|
||||
|
|
Loading…
Reference in a new issue