On 08/25/2014 09:18 PM, Dirk Gently wrote:
Bernhard Voelker wrote:
It's hard enough to kill obsolete uses like e.g. "tail -5" (correctly nowadays: "tail -n 5") which took almost a decade, so changing all
The syntax tail -5 was never removed.
Agreed, not removed, but it is a deprecated, obsolete syntax. It is highly recommended to change it to the newer form. It still was part of the specification back in 1997: Single UNIX Specification, Version 2, 1997 http://pubs.opengroup.org/onlinepubs/7908799/xcu/tail.html which has been removed in Issue 6 http://pubs.opengroup.org/onlinepubs/009695399/utilities/tail.html and "Issue 7" of the "IEEE Std 1003.1", 2013 Edition, now contains a word about that it's non-standard: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/tail.html Earlier versions of this standard allowed the following forms in the SYNOPSIS: tail -[number][b|c|l][f] [file]tail +[number][b|c|l][f] [file] These forms are no longer specified by POSIX.1-2008, but may be present in some implementations. ... and the state is also documented in the texinfo manual: http://www.gnu.org/software/coreutils/manual/html_node/tail-invocation.html For compatibility tail also supports an obsolete usage ‘tail -[count][bcl][f] [file]’, which is recognized only if it does not conflict with the usage described above. This obsolete form uses exactly one option and at most one file. However, the syntax "tail +5 file" has already gone http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Old-tail-plus-N... compare $ env _POSIX2_VERSION=199201 /usr/bin/tail +1 /etc/passwd vs. $ /usr/bin/tail +1 /etc/passwd
Read the man page for dd for Version 7 Unix (circa 1977). dd is not substantially changed.
The ENTIRE Version 7 manual (both Volume 1 and Volume 2) is available here.
The "man' command looks up things in volume 1, and you will find the dd command in this document http://cm.bell-labs.com/7thEdMan/v7vol1.pdf
Thanks for the URLs. Compared to that old document, dd(1) has got the iflag=/oflag= and the status arguments, various conv= modes like block, unblock, sparse, excl, nocreat, notrunc, noerror, fdatasync and fsync, and of course support for specifying the numbers with suffixes K, M, G, T, P, E, Z, Y. Not that bad. ;-)
DD comes from IBM mainframes.
Nobody disputes this except for you.
I never did. Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org