Diletantsky dotaz, jak rozpakuju gzip -c
Honza Pazdziora
adelton na informatics.muni.cz
Pondělí Srpen 11 17:26:01 CEST 1997
[...]
> Tohle nebude fungovat: Prikaz
>
> gzip -c * >neco.gz
>
> je ekvivalentni prikazu
>
> cat * | gzip >neco.gz
>
> v gzipovem souboru uz neni zadna informace o hranici jednotlivych
> souboru.
Myslim, ze nejsou ekvivaleni az tak docela: manova stranka rika, ze
-c --stdout --to-stdout
Write output on standard output; keep original files unchanged. If
there are several input files, the output consists of a sequence of
independently compressed members. To obtain better compression,
concatenate all input files before compressing them.
A kdyz jsem zkusil gzip -c a b versus cat a b | gzip -c a na vysledek
od, tak jsem v prvnim pripade nasel dve sekvence 037 213, ve druhem jen
tu prvni, na zacatku.
Kazdopadne, pokud znate delky nebo jsou to textove veci a dokazete
poznat zacatek a konec, da se to rozbalit do jednoho souboru a pak
rozsekat.
------------------------------------------------------------------------
Honza Pazdziora | adelton na fi.muni.cz | http://www.fi.muni.cz/~adelton/
I can take or leave it if I please
European RC5 56 bit cracking effort -> http://www.cyberian.org/
Please note that I will be without e-mail access from August 21 for a month.
Další informace o konferenci Linux