On 9/17/07, Wagner, David --- Senior Programmer Analyst --- WGO snip > > If you want to print a line that is on a given line number you can say > > > > perl -ne 'print if $. = 400' file.txt > > $. == 400 and not $. = 400 ( assignment verses equality test ). > Wags ;) snip
Yeah, I am an idiot. That is what happens when I write code without testing it. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/