Strip the last 7 lines, not the first 7, and remove line returns from the first substitution
Strip the last 7 lines, not the first 7, and remove line returns from the first substitution

rgeyer/cookbooks_linux