head and tail have builtin "file name header" functions. I use them a lot: tail -f -n +1 *.srt head *.srt -- Wayne Walker wwalker at solid-constructs.com (512) 633-8076 Senior Consultant Solid Constructs, LLC