Yes, sed would be the answer. Here is a sample of what sed does with the output you wanted. I shrank the output that you gave to save space:
Code:
twantrd@twantrd:~/bash_scripting$ more sample
Dec 5 10:53 bin_safepr-20051205.1053.24.5790877
Nov 3 2004 bin_danna-20041103.1638.36.4057569
Nov 3 2004 bin_danna-20041103.1636.23.4057847
Nov 3 2004 bin_danna-20041103.1636.19.4057500
Aug 3 2004 bin_fxfever-20040803.1745.37.88888888
Aug 3 2004 bin_fxfever-20040803.1444.16.88888888
Sep 10 2002 bin_show-20010613.1630.12.88888888
twantrd@twantrd:~/bash_scripting$ cat sample | sed 's/88888888$//g'
Dec 5 10:53 bin_safepr-20051205.1053.24.5790877
Nov 3 2004 bin_danna-20041103.1638.36.4057569
Nov 3 2004 bin_danna-20041103.1636.23.4057847
Nov 3 2004 bin_danna-20041103.1636.19.4057500
Aug 3 2004 bin_fxfever-20040803.1745.37.
Aug 3 2004 bin_fxfever-20040803.1444.16.
Sep 10 2002 bin_show-20010613.1630.12.
So, the way I used sed is that it searches for all lines in file 'sample' and strips away anything that ends in '88888888'.
I'll leave it up to you to create the script
. If you need help, paste the script that you have written so far and we'll help fix whatever issues you have.
-twantrd