Looking for the latest version? Download drm_tools-1.1.25.tar.gz (490.1 kB)
Name Modified Size Downloads / Week Status
Totals: 22 Items   13.9 MB 57
drm_tools-1.1.25.tar.gz 2015-08-05 490.1 kB 22 weekly downloads
README.TXT 2015-08-05 9.7 kB 33 weekly downloads
drm_tools-1.1.24.tar.gz 2015-05-11 422.7 kB 11 weekly downloads
drm_tools-1.1.23.tar.gz 2015-04-06 415.9 kB 33 weekly downloads
drm_tools-1.1.22.tar.gz 2015-04-03 415.9 kB 33 weekly downloads
drm_tools-1.1.21.tar.gz 2015-01-27 412.7 kB 33 weekly downloads
drm_tools-1.1.20.zip 2014-07-14 1.3 MB 11 weekly downloads
drm_tools-1.1.20.tar.gz 2014-07-14 400.5 kB 33 weekly downloads
drm_tools-1.1.19.tar.gz 2014-07-09 400.1 kB 33 weekly downloads
drm_tools_mingwbin-1.1.18.zip 2013-06-26 1.3 MB 33 weekly downloads
drm_tools-1.1.18.tar.gz 2013-06-26 399.9 kB 33 weekly downloads
drm_tools-1.1.17.tar.gz 2013-06-13 379.0 kB 33 weekly downloads
drm_tools_mingwbin-1.1.17.zip 2013-06-13 1.2 MB 33 weekly downloads
drm_tools_mingw-1.1.16.tar.gz 2012-12-17 1.4 MB 33 weekly downloads
drm_tools-1.1.16.tar.gz 2012-12-17 546.1 kB 33 weekly downloads
drm_tools_mingwbin- 2012-11-21 1.2 MB 33 weekly downloads
drm_tools- 2012-11-21 370.3 kB 33 weekly downloads
drm_tools_mingwbin- 2012-11-14 1.2 MB 33 weekly downloads
drm_tools- 2012-11-14 369.7 kB 33 weekly downloads
drm_tools_mingwbin-1.1.14.zip 2011-06-08 818.9 kB 11 weekly downloads
drm_tools-1.1.14.tar.gz 2011-06-08 368.1 kB 22 weekly downloads
drm_tools-1.1.10.tar.gz 2010-06-29 146.6 kB 22 weekly downloads
drm_tools 1.1.25 JUL 29, 2015 Author: David Mathog, mathog@caltech.edu This is a collection of small tools that are sometimes helpful in specific instances. Each is provided as source code with a man page and an html version of the man page. Included programs are: accudate: An extended version of the unix "date" program. If supported by the compiler and OS it has subsecond accuracy and can easily be used to measure delta times in scripts. binformat: A utility for formatting complex binary data into text. Convert a mixture of data types within a single fixed length record to text, optionally inserting delimiters and labels, correcting for byte order, and/or inserting a record number count. binorder: Sort, merge, search, retrieve or generate test data consisting of fixed size binary records. binreplace: Command line utility that may be used in scripts to find or find/replace in binary files. Initial release supports only fixed length binary sequences for FIND and REPLACE patterns. binsplit: Split test data consisting of fixed size binary records into one or more output streams. Split can be either by record order or by key order, where a key is a defined range of bytes in each record. chardiff: Find changes between two files at the character level. Unlike diff, it lists just the characters that differ, so if the 40,000th character is different only that one character will be shown, not the entire line. columnadd: Add columns of integers, decimals, and/or times. datasniffer A utility for formatting binary data dumps. Handy for reverse engineering binary data files if the contents are either already partially known or are expected to be intelligible upon careful examination. dmath Double precision interactive command line math calculator. (Same math functions as in extract.) extract: A utility that is designed to extract and emit data from text files based on character or token position. In many instances it can replace tr, sed, or awk. execinput: A utility that reads from stdin and executes each line as a command in a subprocess. mdump: A utility for formatting binary data. Handy for decoding foreign binary data files. msgqueue: A command line interface to create message queues and send/receive messages. mbin: Multiple buffer in and out. Used for buffering a lot mbout: of data between a slow device and a fast device. Mostly for buffering streaming tape drives for use with slower network connections, so that streaming is maintained as much as possible to minimize wear on the tape device. pockmark: Corrupt data streams - useful for testing error correction and data recovery. tarsieve: Filter, list, or split a tar file. Other files: sol8.h A few bits and pieces to work around missing things in the Solaris 8 system libraries. (Note, there still minor incompatibilities, some NAN on other systems are -INF here.) test_binformat.sh Script for testing binformat. test_binorder.sh Script for testing binorder. test_binsplit.sh Script for testing binformat. test_dmath.sh Script for testing dmath test_dmath_mingw.sh Script for testing dmath in mingw test_extract_increment.sh Script for comparing incremental versions of extract. test_extract_features.sh Script for testing new features in 1.1.0 and up. (Also contains many scripting examples.) Note - slight numeric differences in gcc trig libraries may cause test_extract_features.sh to fail test 33 on some platforms. (16331239353195370.000000 vs. 16331778728383844.000000) test_extract_features_mingw.sh Script for testing new features in mingw. test_tarsieve.sh Script for testing tarsieve. Build instructions: Edit the build_(OSNAME) scripts as desired and run them. Supported targets are linux, solaris, and mingw. The test scripts must use gnu diff which is not the default on Solaris - edit that path before running. There are 2 failures in test_dmath.sh and test_extract_features.sh which are due to slight differences in the math libraries. There is also a 3rd failure in test_extract_features.sh unless test_dmath is compiled with -DUSETOK. That is not the default as that is just a testing mode for some code only used in extract. The mingw build will issue some warnings: warning: ISO C does not support the 'I64' ms_scanf length modifier [-Wformat] which may be ignored. These are the result of trying to use std=c99 with the MS supplied scanf which uses a non-ISO C format instead of lld. Dependenies: The required libraries are most likely already installed in a Linux environment, but some pieces may be missing on Solaris. These are: Install with libpcre pkg-get -i pcre libsigsegv pkg-get -i libsigsegv libintl pkg-get -i libintl Windows notes: The mingw programs will run in a DOS window. All are linked to a Microsoft C RTL on the host system and consequently any \n in an output line will actually emit \r\n, which is the default end of line marker on Windows. The -b switch will leave \n as \n, but only if the binary was built with a C99 compatible compiler or -DMSCRTL was used (for instance, on mingw). As of version 1.1.6 all of these programs are covered by the GNU General Public License, Version 2. A copy of the license terms is found in the LICENSE file. Program versions in this distribution: accudate.c 1.0.9 14-NOV-2012 binformat.c 0.0.3 24-JUL-2015 binorder.c 0.0.9 29-JUL-2015 binreplace.c 1.0.3 14-NOV-2012 binsplit.c 0.0.2 08-JUN-2015 chardiff.c 0.0.1 26-JAN-2015 columnadd.c 1.0.3 12-NOV-2012 datasniffer.c 1.0.4 07-JUN-2011 execinput.c 1.0.1 19-OCT-2006 extract.c 1.1.12 11-MAY-2015 mbin.c 1.0.4 14-NOV-2012 mbout.c 1.0.3 12-NOV-2012 mdump.c 1.0.6 11-MAY-2015 msgqueue.c 1.0.2 23-OCT-2006 pockmark.c 1.0.5 01-JUL-2015 tarsieve.c 1.0.0 18-JUN-2013 test_math.c 0.0.9 11-MAY-2015 Distribution History 1.1.25 Added binsplit, binorder, binformat and corresponding test scripts. pockmark added minrun, mingap, changed start state. 1.1.24 Added binmerge. Fixed new compiler warnings: test_math.c, extract.c 1.1.23 Fixed stupid bug in pockmark. 1.1.22 Modified pockmark, updated its documentation. 1.1.21 Added chardiff. 1.1.20 Fixed a bug in extract that could result in a crash. Updated its test scripts and documentation. Slight modification of behavior of extract -template. 1.1.19 Fixed a bug in extract that could result in a crash. 1.1.18 Added tarsieve. Updated link to drm_tools download site in man and html pages which had not already been corrected. 1.1.17 Fixed a regression in extract which was affecting -fmt with consecutive [] clauses. Modified documentation and test scripts. Modified documentation following suggestions by "Tanya". 1.1.16 Added bitwise operators and integer formats to dmath and extract. Fixed some bugs in extract. Updated documentation for dmath and extract. Fixed minor bug in extract. Changed all programs to use -DMSCRTL, some were using -DMSCLIB for the same thing. 1.1.15 Document some solaris dependencies. Slight changes to sol8.h. Fix compiler warnings on newer gcc. Changed build scripts, moved -l(lib) after name.c. 1.1.14 (Re)ported to mingw. All run except msgqueue, which is too Unix specific. Fixed a couple of minor bugs in various programs. Added binary output mode for extract (for systems other than Linux/Unix.) 1.1.13 fixed a couple of bugs in new version of extract. 1.1.12 major changes to extract (uses and requires PCRE, added scripting and math capabilities). Added dmath. 1.1.11 added binreplace, two minor buf fixes to pockmark, slight change in build scripts to suppress a warning for mbout. 1.1.10 added pockmark 1.1.9 bug fixes in extract. 1.1.8 bug fixes in extract, datasniffer, mbin, and mbout. Added sorts for multitoken fields to extract. 1.1.7 modified extract to support adding delimiters between single letter fields (expanded existing -bs function). 1.1.6 Added mbin/mbout. Changed the license from proprietary to GPL 2 on all programs. Adjusted version numbers and documentation to reflect the new license and update copyrights. 1.1.5 Extract version 1.0.33, fixes one minor bug and one potential bug. Removed unneeded unistd.h include in some programs. No functional changes. 1.1.4 Added columnadd. Slightly modified the other man and html pages. 1.1.3 Modified extract slightly to simplify iftermeol 1.1.1 Modified extract slightly so that it could also emit line lengths. 1.1.0 Added datasniffer. Removed include of unistd.h from all but msgqueue.c. 1.0.0 Initial release
Source: README.TXT, updated 2015-08-05