I plucked this recipe from the FAQ's for rc.local.s20. It isn't working at all - no footers are getting inserted. Any clues what may be wrong?
Can you also explain how much of the footer.txt files this 'pulls in' to compare against the message?
Jo
# # Add text below each message - this one prevents duplication #
TEXT=`sed -n '2 p' <footer.txt` :0 fbBw * $ ! $\TEXT | cat - footer.txt