#!/bin/csh -f

set f=/etc/printcap
set a=(`egrep sd= $f|egrep -v '^#'|sed 's/^[ 	]*:sd=//'|sed 's/:\\//'`)
foreach i (${a})
	echo ${i}
	end
