Try: grep -v "^[0-9]*$" file > newfile > > This is seem like it should be a simple task for grep. > > I have a file that looks like this: > > > > > > > > \section{Chapter 1} > > > > 1 > > One fish two fish > > 2 3 > > > > Red fish blue fish > > > > > > What I want to do i remove the line that have numbers on them and nothing else? Rudy Vener - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html