#!/bin/csh -f dirr -l $*:q exit $status ## Old way... set dashname = -iname # -iname = Case-insensitive -name if ($#argv == 0) then set dashname = endif # -k 11 sorts by 11th field (file name) since find -ls lines have format: # 1 2 3 4 5 6 7 8 9 10 11 # 2203712 8 -rwxr-xr-x 1 fred staff 154 Jun 11 19:33 ./dirrls find . $dashname $*:q -ls | sort -k 11