4 ms·
tail: cannot open +3 for reading: No such file or directory What am I doing wrong? This worked like a charm though: cal dec 2002 | tail -6 | wc -w (since it
by parennoob 13y ago
tail: cannot open +3 for reading: No such file or directory
What am I doing wrong?
This worked like a charm though:
cal dec 2002 | tail -6 | wc -w
(since it always takes up 6 lines, even sep 1752)
- typicalrunt 13y agoIt might be system-dependent. I'm on OSX and the command works properly.
- jbarber 13y agoThe "+n" syntax is not standards compliant, from the tail info page (on fedora 19): On older systems, the leading '-' can be replaced by '+' in the obsolete option syntax with the same meaning as in counts, and obsolete usage overrides normal usage when the two conflict. This obsolete behavior can be enabled or disabled with the '_POSIX2_VERSION' environment variable (*note Standards conformance::).