I came up with this in sed. Just wondering how it would be done in AWK. Generally what I want it to do is take a file and prepend it to another file, then trim the file to 15 lines. Here is my sed solution: cat file.txt log.txt | sed '15,$d' > hold.txt && mv hold.txt log.txt -- Bill Amsterdam, NL