Batch line counter for Mac

Asked By 0 points N/A Posted on -

Why should I use batch line counter for mac?

Thanks in advance for the information


Answered By 0 points N/A #169830

Batch line counter for Mac



Batch line counter looks like this: 

SET count=0
FOR /F "usebackq delims=" %a IN (yourFile.txt) DO SET /A count+=1
SET count

As the name says it is used to count how many line of text you have in your text file. It is used primarily when you make large batch files, so for easier finding your desired line batch line counter makes it possible. Without it programmer would be lost since he have to search all code to find his error.

I hope I helped. Regards.

Related Questions