Hi there,
How can i compare the number of rows in two files (UNIX)?
Basically what i need to do is:
if (compare number of rows ('file1', 'file2')==0)
{
do something;
}
so is there any way to do the comparison of the two files to see whether they have the same number of rows?
TIA
JD
How can i compare the number of rows in two files (UNIX)?
Basically what i need to do is:
if (compare number of rows ('file1', 'file2')==0)
{
do something;
}
so is there any way to do the comparison of the two files to see whether they have the same number of rows?
TIA
JD