> for i in `cat filename` ; do > echo -n $i ' ' > echo $i | gawk '{print strftime("%a %b %d %H:%M:%S %Z %Y", $1)}' > done Much better--unless one really needs to write a Perl script, this does everything needed very cleanly. (I had the Perl code just laying around...but I think Linc probably wanted this.) --Rip