Index: tail/tail.c =================================================================== --- tail/tail.c +++ tail/tail.c @@ -268,8 +268,16 @@ if (rflag) reverse(stdin, fn, style, off, &sb); - else + else { forward(stdin, fn, style, off, &sb); + if (fflag) { + file = (struct file_info *) malloc(sizeof(struct file_info)); + file->file_name = strdup(fn); + file->fp = stdin; + follow(file, style, off); + free(file); + } + } } fileargs_free(fa); exit(rval);