Re: [RFR] man://manpages-de/getopt.3.1
Hallo Chris, hallo Bernhard,
ich habe alles übernommen.
Vielen Dank,
Martin
*******************************************************************************
Teil 1:
> s/Kommandozeilen/Befehlszeilen/g
War nur zweimal.
# Das Argumentfeld ist wörtlich eher ein Argumentvektor?
#. type: Plain text
msgid ""
"The variable I<optind> is the index of the next element to be processed
in "
"I<argv>. The system initializes this value to 1. The caller can reset
it "
"to 1 to restart scanning of the same I<argv>, or when scanning a new "
"argument vector."
msgstr ""
"Die Variable I<optind> ist der Index des nächsten zu verarbeitenden "
"Elements in I<argv>. Das System initialisiert diesen Wert mit 1. Der "
"Aufrufende kann ihn auf 1 zurücksetzen, um das Durchsuchen des gleichen "
"I<argv> erneut zu beginnen oder beim Durchsuchen eines neuen "
"Argumentenfeldes."
#. type: Plain text
msgid ""
"If there are no more option characters, B<getopt>() returns -1. Then "
"I<optind> is the index in I<argv> of the first I<argv>-element that is
not "
"an option."
msgstr ""
"Falls es keine weiteren Optionszeichen gibt, gibt B<getopt>() -1 zurück. "
"Dann ist I<optind> der Index des ersten I<argv>-Elementes in I<argv>, das "
"keine Option ist."
#. type: Plain text
msgid ""
"The B<getopt_long>() function works like B<getopt>() except that it
also "
"accepts long options, started with two dashes. (If the program accepts
only "
"long options, then I<optstring> should be specified as an empty string "
"(\"\"), not NULL.) Long option names may be abbreviated if the
abbreviation "
"is unique or is an exact match for some defined option. A long option
may "
"take a parameter, of the form B<--arg=param> or B<--arg param>."
msgstr ""
"Die Funktion B<getopt_long>() arbeitet wie B<getopt>(), außer dass sie
auch "
"lange Optionsnamen unterstützt, die mit zwei Minuszeichen beginnen.
(Falls "
"das Programm nur lange Optionen unterstützt, dann sollte I<optstring> als "
"leere Zeichenkette (»«) und nicht als NULL angegeben werden). Lange "
"Optionsnamen dürfen abgekürzt werden, wenn die Abkürzung eindeutig ist
oder "
"genau einer definierten Option entspricht. Eine lange Option darf einen "
"Parameter der Form B<--arg=param> oder B<--arg param> akzeptieren."
Reply to: