Newfiles.csh



#  List all the files or directories in the current directory that
#  do not occur in the specified directory.

#  Copyright (c) 1990 by Hamilton Laboratories.  All rights reserved.


proc newfiles(olddir)
   local i
   foreach i (*)
      if (! -e $olddir\$i) calc i
   end
end

newfiles $argv



Hamilton C shell | Free Updates | Free Demo Software | Win32 Training
Y2K | Customer Testimonials | On-line Hamilton C shell User Guide
Home | Email | Support | Company Profile | Distributors | Links



Copyright © 1997-2001 by Hamilton Laboratories. All rights reserved.
You are visitor number 1633. This page was last modified August 14, 2001.