u0012147@bashful-1[9]_% script latex22
Script started, file is latex22
u0012147@bashful-1[1]_% cd xfig
u0012147@bashful-1[2]_% ls *fig
latex2.fig    latex2.xfig   unnamed.fig
u0012147@bashful-1[3]_% cd
u0012147@bashful-1[4]_% cd eps   
u0012147@bashful-1[5]_% ls    
latex2.eps
u0012147@bashful-1[7]_% exit
u0012147@bashful-1[8]_% Script done, file is latex22
u0012147@bashful-1[10]_%