[jump to content][No Software Patents]Tools (new) : unbuffered [ Home | Scylla+Charybdis old home | Tools (old) | Tools (new) | FAQ | Downloads ]

Moving to GitHub, slowly

The software on this pages will slowly be moved to GitHub https://github.com/hilbix/. The CVS repository will be migrated to GIT as well, so the history will be preserved, a bit. See FAQ.

Scylla and Charybdis, unbuffered - Tools

The tools are developed under Linux with ESR's paradigm release early, release often in mind.
So you can consider this beta software, or alpha, or pre-alpha, or even worse ;)

Have a look in the download directory for all downloads.
As always here, all you get is the source. No binaries here.

unbuffered 0.4.0-20111023-001608

Copy stdin to stdout and stderr, unbuffered


⇒ ⇒ ⇒ The development shifted to another location. All future versions will be published at https://github.com/hilbix/unbuffered   ⇐ ⇐ ⇐


Often `tee` fails, as this command does it buffered.

This here is a really easy program to do it unbuffered. Use it like this:

producer | unbuffered 2>>file | consumer

Now you can do also something like:

producer | unbuffered -cp 'prefix ' | consumer

There are options like '-x' to do a hexdump. Also you can give a 'line prefix' to prepend. And there is timestamping.

All you need to do your debugging, quick and dirty.

History:

version 0.4.0-20111023-001608

download (259755 bytes) sig

Bugfix release for option -c. Option -b added

WARNING! The old unbuffered -c now must be written unbuffered -bc!

Incomplete lines were not output in cat mode in contrast to the Usage printed. This was due to a problem noted by me with incomplete lines and -u. Now you must use "unbuffered -bcu" instead of "unbuffered -cu".

This is important. If you rely on the old method, please update your scripts accordingly.

version 0.3.0-20111022-224132

download (259519 bytes) sig

Option -i and -o added

Input and output file descriptors can be specified. So this can read from other FDs than stdin and send to other fds than stderr.

version 0.2.1-20110729-223640

download (258945 bytes) sig

Bugfix, option -a works now

For unknown reason (I believe it worked before) the write-permission (O_WRONLY/O_RDWR) were missing for O_APPEND mode. This triggered another bug where the error processing entered an endless loop.

version 0.2.0-20110214-001359

download (256119 bytes) sig

Option -m and producer can now be forked.

For forked producers unbuffered returns the return value of the producer.

version 0.1.1-20110214-000752

download (255319 bytes) sig

Better usage and GCC 4.4 fixes

[view more history][view complete history]

License and Disclaimer

All you can see here is free software according to the GNU GPL.
Copyright (C)2000-2011 by Valentin Hilbig
Note that the software comes with absolutely no warranty of any kind.
You use the software at your own risk.
Valentin Hilbig cannot be hold responsible for any unintended damage,
lost data or malfunction of the software you can find here.

[FSFE contributor 2007]

[end of page - jump back to content][hacker culture]
Last modified: 2011-09-12 by Valentin Hilbig [ Imprint / Impressum ]