The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-20-2006
bd_joy bd_joy is offline
Registered User
  
 

Join Date: Aug 2005
Location: Pittsburgh, PA
Posts: 25
Quote:
Originally Posted by anbu23
Code:
sed "/^ *$/d" $outdir/date.txt > temp
mv temp $outdir/date.txt
Should I place this after the while loop or within it? I placed it after the loop and I still had the blank line at the end of the file.