#!/bin/csh -f # viewrecent # ----------------------------------------------------------------------------- # C shell script to view all files in the current folder, most recent first. # ----------------------------------------------------------------------------- foreach file (`ls -1t`) pause $file\? cls echo $file less $file end