Some accrued fixes/updates.
* cp/mv now accepts (and ignores) the -f flag, since it always does force anyway * tail can now accept -<num> commands (e.g. -10) for better compatibility with the standard tail command * added a simple id implementation; doesn't support supp. groups yet
This commit is contained in:
6
tail.c
6
tail.c
@@ -368,8 +368,10 @@ extern int tail_main(int argc, char **argv)
|
||||
case 'h':
|
||||
usage(tail_usage);
|
||||
default:
|
||||
fprintf(stderr, "tail: invalid option -- %c\n", opt);
|
||||
usage(tail_usage);
|
||||
if ((n_units = atoi(&argv[i][1])) < 1) {
|
||||
fprintf(stderr, "tail: invalid option -- %c\n", opt);
|
||||
usage(tail_usage);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
break;
|
||||
|
Reference in New Issue
Block a user