The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Carriage Return at end of file
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Carriage Return at end of file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
10-20-2006
bd_joy
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.
bd_joy
View Public Profile
Find all posts by bd_joy
Find bd_joy's past nominations received
Find bd_joy's present nominations given