Thanks for the answers - it's all working beautifully :-) Simon On Sat, 12 Oct 2002 09:46:24 +0100, Simon Faulkner <news at titanic.co.uk> wrote: >I am writing a script which reads it's input from a text file > >What is the easiest way to make it ignore lines that start with # or >blank lines? > > >Simon