Hi,
ein auf solaris liefert mir als Rückgabewert ($?) den Wert 2 (bzw 1). Was bedeutet das? und google halfen mir grad nicht
Grüße,
J~
Hi,
ein auf solaris liefert mir als Rückgabewert ($?) den Wert 2 (bzw 1). Was bedeutet das? und google halfen mir grad nicht
Grüße,
J~
ein auf solaris liefert mir als Rückgabewert ($?)
den Wert 2 (bzw 1). Was bedeutet das? und google
halfen mir grad nicht
2 steht für einen allgemeinen Fehler, 1 anscheinend für eine festgestellte Differenz bei einem Datenvergleich.
Hallo,
aus man tar
:
This man page is neither complete, nor current, and was included in the Debian Linux packaging of tar entirely to reduce the frequency with which the lack of a man page gets reported as a bug in our defect tracking system.
Also lesen wir mal info…
aus info tar
:
GNU tar' returns only a few exit statuses. I'm really aiming simplicity in that area, for now. If you are not using the
–compare’
(--diff',
-d’) option, zero means that everything went well, besides
maybe innocuous warnings. Nonzero means that something went wrong.
Right now, as of today, „nonzero“ is almost always 2, except for remote
operations, where it may be 128.
Ähnlich sollte das bei solaris sein: schau dir die entsprechende info-Seite an.
Grüße,
Moritz