Documentation Source Text

Check-in [7accc324d8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in the zipfile.html document.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7accc324d818314799fe108596d681e6def3274ae5ebb84edb28f3a82730ae2a
User & Date: drh 2018-03-10 12:09:19.771
Context
2018-03-10
15:27
Improvements to the sqlar.html page. (check-in: 0a2c8d8f26 user: drh tags: trunk)
12:09
Fix a typo in the zipfile.html document. (check-in: 7accc324d8 user: drh tags: trunk)
12:05
Fix a typo on the printf.html page. (check-in: 5c4f29e7bd user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to pages/zipfile.in.
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
compatibility with other programs (most notably "info-zip") that 
manipulate zip archives.

<p>To insert a symbolic link, the user must also supply a "mode" value.
For example, to add a symbolic link from "link.txt" to "m.txt":

<codeblock>
  INSERT INTO temp.zip(name, mode, data) VALUES('link.txt', 'lrwx-rw-rw', 'abcdefghi');
</codeblock>

<p>The following rules and caveats apply to the values specified as part of
each INSERT statement:

<table striped=1>
<tr><th>Columns <th> Notes







|







151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
compatibility with other programs (most notably "info-zip") that 
manipulate zip archives.

<p>To insert a symbolic link, the user must also supply a "mode" value.
For example, to add a symbolic link from "link.txt" to "m.txt":

<codeblock>
  INSERT INTO temp.zip(name, mode, data) VALUES('link.txt', 'lrwxrw-rw-', 'abcdefghi');
</codeblock>

<p>The following rules and caveats apply to the values specified as part of
each INSERT statement:

<table striped=1>
<tr><th>Columns <th> Notes
304
305
306
307
308
309
310
311
312
313
<codeblock>
  WITH contents(name, data) AS (
    VALUES('a.txt', 'abc') UNION ALL
    VALUES('b.txt', '123')
  )
  SELECT zipfile(name, data) FROM contents;
</codeblock>










<
<
<
304
305
306
307
308
309
310



<codeblock>
  WITH contents(name, data) AS (
    VALUES('a.txt', 'abc') UNION ALL
    VALUES('b.txt', '123')
  )
  SELECT zipfile(name, data) FROM contents;
</codeblock>