information about this package can be found in the README. here is a html-version of the README:
works.
"util" is a library with various commonly used functions. some are in other standard libraries (like string.m, lists.m), others are not. this library was written because having to write these functions all the time (which is still faster than copy-pasting) is annoying.
the modules are named with a numerical suffix, a version number. incompatible version of future libraries (e.g. with changed function definitions) will have a new number. this ensures existing programs using this library will not have to be modified after such an interface change.
note that there is currently no documentation for the functions (the code is documentation for now!). the test program is useful too.
modify mkconfig if you don't have $ROOT set. now type "mk install" to compile and install.
when building from within inferno, insert SYSHOST=Inferno and ROOT= in the mk invocations to override the values in the mkconfig.
get the latest version at
http://www.ueber.net/code/r/util
all files are in the public domain. this code has been written by mechiel lukkien, reachable at mechiel@ueber.net or mechiel@xs4all.nl.
to clone & pull:
hg clone http://www.ueber.net/hgsrv/util/
hg clone static-http://www.ueber.net/who/mjl/hg/util/
download a snapshot of the latest version: util-3.tgz.
the files in the latest revision can be found at /hg/util/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:
| rev | nodeid | when | diff | why |
|---|---|---|---|---|
| 3 | 74030c2abdc6 | 2 years | diff | allow p16,p32(i),p64 (and their *l-variants) to pack without a buf... |
| 2 | 063bff8f0a7d | 2 years | diff | stop telling people not to use it. add mkconfig. |
| 1 | 30c7153e9bfa | 2 years | diff | allow readfile/readfd with max < 0, for unlimited reading. |
| 0 | bab3f229fd23 | 2 years | - | welcome util0. NOT final yet. |