File: zip.man

package info (click to toggle)
tcltrf 2.1.4-dfsg3-2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 9,652 kB
  • ctags: 9,400
  • sloc: ansic: 73,138; sh: 3,155; tcl: 1,343; makefile: 182; exp: 22
file content (35 lines) | stat: -rw-r--r-- 958 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[vset    compress zip]
[include compress/header.inc]

[para]

The command is based on the deflate compression algorithm as specified
in RFC 1951 ([uri http://www.rfc-editor.org/rfc/rfc1951.txt]) and as
implemented by the zlib compression library
([uri http://www.gzip.org/zlib/]).
See also RFC 1950 ([uri http://www.rfc-editor.org/rfc/rfc1950.txt])

[para]
[list_begin definitions]

[call [cmd [vset compress]] [opt [arg options...]] [opt [arg data]]]

[list_begin definitions]
[include compress/options.inc]

[lst_item "[option -nowrap] [arg boolean]"]

If set to [const true] the command will not create the zip specific
header (See RFC 1950) normally written before the compressed data. The
options defaults to [const false].

It has to be used when writing a [syscmd gzip] emulation in Tcl as
gzip creates a different header.


[include common/options.inc]
[list_end]
[list_end]

[keywords {rfc 1950} {rfc 1951} {rfc 1952}]
[include compress/footer.inc]