Open asntech opened 4 years ago
Hi @dylanaraps,
I've fixed a bug in lines() by setting the lines variable to 0 as it was incrementing the number of lines if you call lines multiple times.
For example:
$ lines /path/to/file.txt $ 100 $ lines /path/to/file.txt $ 200
$ lines /path/to/file.txt
$ 100
$ 200
Hi @dylanaraps,
I've fixed a bug in lines() by setting the lines variable to 0 as it was incrementing the number of lines if you call lines multiple times.
For example:
$ lines /path/to/file.txt
$ 100
$ lines /path/to/file.txt
$ 200