scripting question

From: John Dunn (john.dunn@SEFAS.CO.UK)
Date: Thu May 22 2003 - 09:56:49 EDT


Is it possible to write a one line command that will test whether a file
contains a specific number of lines, returning 0 if it dies, 1 if it doesn't

I've been playing around with wc and test with no luck.

John



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:51 EDT