#!/bin/tcsh

ls -1 >  somefile

foreach  item ("`cat somefile`") 
  echo $item
end
