tail: fix tail +N syntax not working. Closes bug 221.
This commit is contained in:
parent
bfc0fae952
commit
3603cd2808
@ -104,7 +104,7 @@ int tail_main(int argc, char **argv)
|
||||
if (argv[1] && (argv[1][0] == '+' || argv[1][0] == '-')
|
||||
&& isdigit(argv[1][1])
|
||||
) {
|
||||
count = eat_num(&argv[1][1]);
|
||||
count = eat_num(argv[1]);
|
||||
argv++;
|
||||
argc--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user