www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/30/15:42:12

Message-Id: <3.0.1.32.20010530160818.0070ac7c@wingate>
X-Sender: n_abing#ns DOT roxas-online DOT net DOT ph AT wingate
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
Date: Wed, 30 May 2001 16:08:18 +0800
To: djgpp AT delorie DOT com
From: "Nimrod A. Abing" <n_abing AT ns DOT roxas-online DOT net DOT ph>
Subject: Re: FAQ saves the day
Cc: dawitbro AT alpha DOT delta DOT edu
In-Reply-To: <3B13D611.7363242A@alpha.delta.edu>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

At 01:02 PM 05/29/2001 -0400, you wrote:
>  I've been working on a program to list the files in a directory (my
>own personal replacement for "dir"), in color, with auto-paging, with
>drive space statistics, etc.

FWIW, you could have just downloaded and installed the fil???b.zip package
which contains the `ls', `df', and `du' commands. These commands will list
the contents of a directory, show (estimate?) remaining disk space, and
show how much space a file or directory uses. With the --color=auto
command-line option to `ls' you can get colored output on your colored
monitor. To get paging, there is the `less' pager that comes in its own
package.

Although it's good practice to actually write programs, it's not good
programming practice to ``reinvent the wheel'' ;-)

nimrod_a_abing
--------------

+========================================+
|  Home page: www.geocities.com/n_abing  |
+========================================+

"I believe in the American Dream.
 That's why I'm still asleep."

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019