/* ** wdir.c ** ** Version numbering finally started 4-7-06. ** ** 1.08 2-5-08 ** *List directories too in recursive listings with -dt flag. ** ** 1.07 7-19-07 ** *Made -ds and -gs more Linux friendly ** *Added -id (interactive delete) option ** ** 1.06 5-7-07 ** -c only (and always) quotes names w/spaces in them. ** -d -r now correctly recursively lists directories. ** ** 1.05 4-20-07 ** -c option automatically stores the last file name echoed ** to the display to the clipboard. ** ** 1.04 2-6-07 ** Uses new FILELIST structure which has no MAXFILENAMELEN and ** uses memory much more efficiently. ** ** 1.03 10-27-06 ** Increased max number of -i/-e to 128. ** ** 1.02 6-15-06 ** MAXFILENAMELEN cut back to 512 to conserve memory. ** Modified parsing of "dir" and "spec" in main() so that ** requests such as "wdir -r *\c.vim" will work as expected. ** ** 1.01 6-2-06 ** Changed [MAXFILENAMELEN] length strings to [MAXFILENAMELEN]. ** wdir can now handle complete file names up to 1024 chars. ** (Previous limit was 256.) ** ** 1.00 4-7-06 ** First version number even though this thing has already had ** many, many revisions. ** */