26.06.2011, 23:03, "Eric Furman" <[email protected]>: > On Sun, 26 Jun 2011 05:29 +0400, "Mike Korbakov" <[email protected]>; > wrote: > >> sorry first link must be >> http://www.freebsd.org/cgi/man.cgi?query=nl&apropos=0&sektion=1&manpath=FreeBSD+8.2-RELEASE&format=html >> in which we can see: >> >> STANDARDS >> The nl utility conforms to IEEE Std 1003.1-2001 (``POSIX.1''). >> >> HISTORY >> The nl utility first appeared in AT&T System V Release 2 UNIX. > > I could be mistaken, but I'm pretty sure nl predates cat -n.
cat can't start count from zero. As i found, it appears in 4BSD: http://minnie.tuhs.org/cgi-bin/utree.pl?file=4BSD/usr/man/man1/cat.1 Sys III has no this option: http://minnie.tuhs.org/cgi-bin/utree.pl?file=SysIII/usr/src/man/man1/cat.1 http://www.freebsd.org/cgi/man.cgi?query=cat&apropos=0&sektion=1&manpath=OpenBSD+4.7&format=html ->> "STANDARDS The cat utility is compliant with the IEEE Std 1003.1-2008 (``POSIX'') specification. The flags [-benstv] are extensions to that specification."
