Popular White Paper On This Topic

Thanks a lot for the information given by you. I am feeling very great to have membership of this group & to have friends like you.With the information provided by you i am now being able to understand the following command:
sed '/./,/^$/!d' file
But still the rest of the commands are not clear to me:
sed '/^$/N;/\n$/D' file # this allows 1 blank at top, 0 at EOF
how this command is leaving one blank at the top & zero at the bottom
# Delete all trailing blank lines at end of file (only).
sed -e :a -e '/^\n*$/{$d;N;};/\n$/ba' file

# If a line ends with a backslash, join the next line to it.
sed -e :a -e '/\\$/N; s/\\\n//; ta' file

# If a line begins with an equal sign, append it to the previous
# line (and replace the "=3D" with a single space).
sed -e :a -e '$!N;s/\n=3D/ /;ta' -e 'P;D' file
I will be thankful to you if u help in understanding the things more clearly.

I have found this sed document very useful. take some time to read it in
its entirety. I also subscribe to Thundernews.com and I look for all Linux
training videos possible. This has been my best $20/month investment I
made. Here it is: