extasia.org/code/duchk/>: duchk change log
duchk change log
----------------------------
revision 1.12
date: 2004/01/14 22:01:35; author: alban; state: Exp; lines: +2 -2
. updated copyright to include year 2004
----------------------------
revision 1.11
date: 2003/07/22 22:19:21; author: alban; state: Exp; lines: +14 -4
. fixed bug: the -d test at (previous) line 179 was failing in cases
where the directory entry being tested wasn't in the current
directory and the argument to -d wasn't the path from the current
directory. That is, "-d $entry" became "-d $fullpath".
. added code affecting how filenames are displayed in output. in
addition to the previous (and maintained) practice of printing
non-printable characters as backslashes followed by three digit
octal numbers:
. each backslash will be printed as two backslashes
. each space will be printed as "\ "
. each tab will be printed as "\t"
. each newline will be printed as "\n"
----------------------------
revision 1.10
date: 2003/07/12 23:23:33; author: alban; state: Exp; lines: +35 -6
. added code to print non-visible characters visibly
. added code to be tolerant of newlines in file names
----------------------------
revision 1.9
date: 2003/07/12 22:45:35; author: alban; state: Exp; lines: +1 -4
. took copyright statement out of usage statement. it was a bit much...
----------------------------
revision 1.8
date: 2003/07/12 22:41:37; author: alban; state: Exp; lines: +49 -10
. *FINALLY* solved wierd characters in filename problem by incorporating
and adapting code in du() from the perlsec man page. Thank you Perl!!!
----------------------------
revision 1.7
date: 2003/07/12 18:17:39; author: alban; state: Exp; lines: +12 -12
. fixed another bug in code determining $minsize
----------------------------
revision 1.6
date: 2003/07/12 17:40:08; author: alban; state: Exp; lines: +9 -4
. Corrected (updated) comments describing how $minsize is set
----------------------------
revision 1.5
date: 2003/07/12 17:35:02; author: alban; state: Exp; lines: +24 -17
. fixed bug that would have allowed non-digits in $DUCHK_SIZE
environment variable
----------------------------
revision 1.4
date: 2003/07/12 17:15:08; author: alban; state: Exp; lines: +29 -7
. added copyright statement to top of file
. added copyright statement to usage
. added note (warning? :-) in usage indicating default behavior is to
list all file of non-zero size
. tweaked other parts of usage statement a bit
----------------------------
revision 1.3
date: 2003/07/12 16:57:38; author: alban; state: Exp; lines: +48 -18
. process_directory now warns (rather than dies) if it can't open the
directory it's given
. process_directory now returns without processing a file if it can't
get size information for that file
. du() now warns and returns undef (rather than dies) if it can't get
size info for a file
. mount_table() now checks if it gets a defined value from its call
to file_id(). if it gets an undefined value, it dies.
. file_id() now calls lstat() rather than stat()
. file_id() now returns undef (rather than dies) if it can't get
fsdev and inode info for a file
. is_mountpoint() now checks the value of its call to file_id() and
returns false if file_id() returns undef
. fdie() now outputs @_ outside of the double quotes
. added fwarn()
----------------------------
revision 1.2
date: 2003/07/12 16:22:22; author: alban; state: Exp; lines: +238 -195
. *completely* rewrote from scratch, and in perl (whee!)
----------------------------
revision 1.1
date: 2003/07/11 23:47:32; author: alban; state: Exp;
Initial revision
=============================================================================