A new kind of ls

From: Spalding, Stephen <SSpaldin_at_mem-ins.com>
Date: Tue, 18 Aug 1998 12:28:34 -0500

Hello all!

We want to be able to use the ls function where it will return the month,
day, and year each time it is run instead of returning the month, day, and
time for files up to six months old and then displaying the year. Examples:

> ls -l reins*18*
-rw-rw-r-- 1 isabatch dba 0 Aug 18 10:13
reins_policy_19980818.lst

This is NOT what we want.


> ls -l reins*18*
-rw-rw-r-- 1 isabatch dba 0 Aug 18 1998
reins_policy_19980818.lst

This IS what we are looking for.


I've looked through the man pages and have found that ls doesn't seem to
have this functionality included with it, so I figured that I would have to
write my own version of ls to do this. Does anyone have any examples that I
can look at?

Thank you very much!


Stephen Spalding
Associate System Administrator
Missouri Employers Mutual Insurance
sspaldin_at_mem-ins.com
1000 West Nifong
Columbia, MO 65203
(573) 499 - 4230
(800) 442 - 0590
fax (573) 499 - 4310
Received on Tue Aug 18 1998 - 17:30:22 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT