2011-12-20 Jari Aalto * gt5.1: (ENVIRONMENT): Document GT5_DEBUG_DIR. * gt5 (GT5_DEBUG_DIR): New variable. (Debug_pipe): New function. (...middle...): Rewrite code to check if du(1) supports --max-depth options. (...everywhere...): Add debug calls to write $HOME/gt5.debug* files if --debug is on. In AWK parts, move variables to "-v" and reduce inline coding. 2010-11-01 Jari Aalto * gt5 - Remove extra 'local' statement. Patch thanks to Stéphane Rosi . - Correct AWK brace placement in "$1 > 0". Patch thanks to Stéphane Rosi . - Remove extra ending semicolons from AWK code. - Rewrite non-POSIX safe logical if operators "-a, -o" with "&&, ||". - Add space after each comma in function calls. 2010-10-11 Jari Aalto * gt5 - Correct following errors; patch thanks to Stéphane Rosi : + Commandline arguments are not working + gt5_substr_after not declared - Minor indentation corrections (by 4) - Minor brace placement adjustments - Minor conditional statement clean ups. Like changing cryptic ||&& combinations into simple if-statements. - Add 'local' keyword to localize variables properly. - Add 'Notes' to the top of file. - Preserve eror codes with 'exit $?', not just 'exit'. 2009-12-09 Jari Aalto * gt5 (DATA): Move after Initialize_tempdir() call so that $TMP gets a value. 2009-12-08 Jari Aalto * gt5 - Move 'trap' call to the "Main:" so that all temporary files are removed. - Initialize() must be run before Initialize_tempdir() - Define AWK variable at the beginning just in case it has value in Replace*() functions. (WhichList): Return status 1 (error), if not found. (Initialize): simplify use of variables $GT5_BROWSER $AWK. Die on error if $AWK is not set. Unset test_in and test_out. Fix linux test by checking /vmlinuz and not grub. (Options): New function. (Which): Return 0 on success or 1. (Grep): Remove variable, use $1 directly. 2009-12-07 Jari Aalto * gt5.1: Document new options --debug and --verbose. Add option --help. Adjust layout to have newlines between heading and options for easier maintenance. * gt5 - Replace all tildes(~) with $HOME. Works better with any shell. - Convert all echo calls to EchoProgress(). - Add new option --verbose - Add new option --debug - option --version now prints plain number, nothing else. Easy for external programs to parse. (Initialize): Add missing slash to '_tmpfile'. (Main:): Call Initialize_tempdir() before Initialize() to define initial value for TMPDIR. (version): Bump version number to 1.4.0.1 (Which): Convert to plain sh. Remove which(1) call. (Requirebin): Die on error if not found. (Verbose): New. (Help): Document new options --debug and --verbose (WhichList): New. (AtExit): New. Remove plain trap command. * g5.1: Bump version number to 1.4.0.1 2009-12-06 Sun Jari Aalto * gt5.1: (TEXTBROWSERS::w3m): clarify version. * Makefile: Add GPL, completely rewrite everything. * gt5 - Add --exclude option (Sourceforge #1360672). - Change /bin/sh to /bin/bash - Rewrite echo -e calls. Options -e is not always available. (REQUIRED_PROGRAMS): New. (SUPPORTED_BROWSERS): New. (Help): Complete rewrite. (Warn): New. (Die): New. (Exist_or_die): 9 New. (Which): New. (Requirebin): New. (Grep): New. (Initialize): New. (Initialize_tempdir): New. (Replace): 9 increase code spacing. Remove gt5_* prefix (Replace_all): increase code spacing. Remove gt5_* prefix (Substr): increase code spacing. Remove gt5_* prefix (Substr_after_all): increase code spacing. Remove gt5_* prefix (Substr_before): increase code spacing. Remove gt5_* prefix 29.08.2007 version 1.4.0 * Changed package naming syntax * modified gt5 to run with plain awk * added workaround if mktemp is missing 08.02.2007 version 1.3d * just some minor fixes in the manpage 24.01.2007 version 1.3c * added 'charset' to html header to fix UTF-8 encoding problem, $LANG is read for charset, use GT5_CHARSET to force another 15.06.2006 version 1.3b * fixed filename escaping in two trap statements 09.05.2006 version 1.3a * fixed seconds in 'last check / time ago' - statement * fixed hidden feature to download/compile a textbrowser (gt5 refused to run without a textbrowser installed) 08.12.2005 version 1.3 * added diffs: gt5 shows where diskspace has been occupied since last run * added colors to show bigger, smaller and new files at the first sight (in case you use a textbrowser that honors a document's coloring) * gt5 now can also show du-logs generated with 'du -ak /some/dir' * removed support for w3m, (see manpage) * wrote a manpage for gt5 17.11.2005 version 1.2f * added fallback to use lynx/w3m (order: elinks links links2 lynx w3m) 15.11.2005 version 1.2e * fixed permissions for gawk/links if build systemwide * added --get-elinks and --get-links2, as requested * changed the default to ignore mountet filesystems * added switch --with-mounts for old behaviour 15.09.2005 version 1.2d * added Makefile to be able to install gt5 via toast * added LC_ALL=POSIX to override system environment 20.08.2005 version 1.2c * improved cutting technics: --cut-at / --max-depth / --max-lines * more reliable removing of temporary files trough 'trap' * fixed sort order of links-versions within --get-links * check for the availability of gawk * better escaping of filenames 14.04.2005 version 1.1 * Fixed a bug triggered by reiserfs where directories can have zero size: If only one subdirectory exists, parent and child have equal size. They were sorted incorrectly, which rendered the parent 'unbrowseable'. * Fixed a bug triggered by HTML anchors being caseinsensitive. So directo- ries whose names only differ in case were (of course) indistinguishable. * renamed '--keep-as' to '--save-as' as I allways mix them up. In fact both switches are accepted. * temporary files are now compressed using gzip to minimize diskusage 30.10.2004 version 1.0 * first public release (gt5 is feature complete) * I used it on my own for several weeks now