Listing 1: Lawrence Manns' chronological directory listing

#!/bin/sh

# Program               : dated.list
# Author                : L.G. Manns
# Purpose               : Provide a listing of files in a directory in 
#                         chronological order ... most recent first.
#
         
# Note                  : The figure 256 can be modified if one wishes
#                         to view fewer or more than 256.
         
echo "Please enter directory to be listed. \n"
read dirname
echo ""
         
ls -lt $dirname >/users/tmp.list
head -256 /users/tmp.list|more
rm /users/tmp.list
         
#end

