#!/bin/tcsh

ls -1 >! somefile

foreach word ( `cat somefile|sort` )
echo $word 
end
