| | #!/usr/local/bin/python |
---|
| | #!/usr//bin/env python |
---|
| | """ |
---|
| | tdir - Display Formatted Directory Listings |
---|
| | Copyright (c) 2001, TundraWare Inc., All Rights Reserved. |
---|
| | Copyright (c) 2001, 2002 TundraWare Inc., All Rights Reserved. |
---|
| | """ |
---|
| | |
---|
| | # python Library Imports |
---|
| | |
---|
| |
---|
| | import sys |
---|
| | |
---|
| | # Version info |
---|
| | |
---|
| | VERSION = "$Id: tdir,v 1.66 2001/07/21 20:38:29 tundra Exp $" |
---|
| | VERSION = "$Id: tdir,v 1.67 2002/09/02 00:40:36 tundra Exp $" |
---|
| | |
---|
| | |
---|
| | # Booleans |
---|
| | |
---|
| |
---|
| | |
---|
| | def Usage(): |
---|
| | UsageInfo = ( |
---|
| | ("tdir " + VERSION.split()[2] + |
---|
| | " - Copyright (c) 2001, TundraWare Inc., All Rights Reserved. \n", ""), |
---|
| | " - Copyright (c) 2001, 2002 TundraWare Inc., All Rights Reserved. \n", ""), |
---|
| | (" usage: tdir [-Rdefhtv] [-c #] [-s c] [-w #] [dir...] where,\n\n", ""), |
---|
| | ("-R", "Recurse down each named directory tree\n"), |
---|
| | ("-c #", "Column width\n"), |
---|
| | ("-d", "Do not display directories in output\n"), |
---|
| |
---|
| | |
|