X-Git-Url: https://git.ladys.computer/Shushe/blobdiff_plain/f6a3b3d4de9b99892c8d9179061546b52a46e471..b620a662b669862cd7bf01aa06c8ad3de2f1a7f4:/README.markdown diff --git a/README.markdown b/README.markdown index bf353e0..952f4ee 100644 --- a/README.markdown +++ b/README.markdown @@ -57,13 +57,6 @@ Details on particular programs are given below; if a program is not listed, it is assumed that any Posix‐compliant implementation will work. -### `date` - -This is a Posix utility, but ⛩️📰 书社 currently depends on - unspecified behaviour. -When the G·N·U version of `stat` is being used, then the G·N·U version - of `date` is also expected. - ### `file` This is a Posix utility, but ⛩️📰 书社 currently depends on @@ -108,13 +101,6 @@ This is a Posix utility, but not included in the Linux Standard Base or installed by default in many distributions. Only `ustar` format support is required. -### `stat` - -This is not a Posix utility, and nor is it particularly portable. -To get around incompatibilities, ⛩️📰 书社 attempts to recognize G·N·U - `stat` by searching for the string `GNU` when invoked with the - `--version` option, and falls back to B·S·D behaviour otherwise. - ### `uudecode` and `uuencode` These are Posix utilities, but not included in the Linux Standard Base @@ -122,14 +108,6 @@ These are Posix utilities, but not included in the Linux Standard Base The G·N·U [Sharutils](https://www.gnu.org/software/sharutils/) package can be installed to access them. -### `xargs` - -This is a Posix utility, but ⛩️📰 书社 currently depends on - unspecified behaviour. -It requires support for the `-0` flag, which must disable the special - quote and whitespace handling of `xargs` in favour of null‐terminated - strings. - ### `xmlcatalog` and `xmllint` These are not a Posix utilities. @@ -206,7 +184,6 @@ In every case, you may supply your own implementation by overriding the - `cksum` - `cp` - `date` -- `echo` - `file` - `find` - `git` (optional; set `GIT=` to disable) @@ -221,13 +198,12 @@ In every case, you may supply your own implementation by overriding the - `rm` - `sed` - `sleep` -- `stat` (BSD *or* GNU) - `test` - `touch` - `tr` - `uuencode` - `uudecode` -- `xargs` (requires support for `-0`) +- `xargs` - `xmlcatalog` (provided by `libxml2`) - `xmllint` (provided by `libxml2`) - `xsltproc` (provided by `libxslt`) @@ -588,6 +564,10 @@ The following params are made available globally in parsers and - **`SRCTIME`:** The time at which the source file was last modified. + Due to limitations in Posix, this time will only have minute + precision if the file was modified in the last six months, and will + only have day precision if the file is older. + Users should not expect this value to be particularly stable. - **`THISREV`:** The value of the `THISREV` variable (if present). @@ -693,6 +673,13 @@ They are :⁠— non X·M·L output types, ⁊·c). Other child elements will be ignored. + If the `<书社:archive>` element is given an `@书社:expanded` + attribute, rather than producing a tarball ⛩️📰 书社 will output + the directory which expanding the tarball would produce. + This mechanism can be used to generate multiple files from a single + source, provided all of the files are contained with·in the same + directory. + - **`<书社:base64-binary>`:** The text nodes in the transformation result will, after removing all Ascii whitespace, be treated as a Base·64 string, which is then