diff options
author | kientzle <kientzle@FreeBSD.org> | 2008-01-22 07:23:44 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2008-01-22 07:23:44 +0000 |
commit | 5ca21996e8c98962a73f74519aadada4750b6661 (patch) | |
tree | e38432f05e9b3a3a33ec5ff9ece44f50bc65e793 /usr.bin/tar/bsdtar.1 | |
parent | 0f0fc0acb43e400ef469ea2852ce54d9313aa528 (diff) | |
download | FreeBSD-src-5ca21996e8c98962a73f74519aadada4750b6661.zip FreeBSD-src-5ca21996e8c98962a73f74519aadada4750b6661.tar.gz |
Make -l always have the SUSv2 meaning of "check links."
GNU tar changed -l to match SUSv2 a couple of years ago,
so bsdtar no longer needs to pander to this particular GNUism.
Thanks to: Debian maintainers
MFC after: 7 days
Diffstat (limited to 'usr.bin/tar/bsdtar.1')
-rw-r--r-- | usr.bin/tar/bsdtar.1 | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/usr.bin/tar/bsdtar.1 b/usr.bin/tar/bsdtar.1 index 3ae5502..92b61a2 100644 --- a/usr.bin/tar/bsdtar.1 +++ b/usr.bin/tar/bsdtar.1 @@ -232,16 +232,9 @@ All symbolic links will be followed. Normally, symbolic links are archived as such. With this option, the target of the link will be archived instead. .It Fl l -If -.Ev POSIXLY_CORRECT -is specified in the environment, this is a synonym for the +This is a synonym for the .Fl -check-links option. -Otherwise, an error will be displayed. -Users who desire behavior compatible with GNU tar should use -the -.Fl -one-file-system -option instead. .It Fl m (x mode only) Do not extract modification time. @@ -422,11 +415,6 @@ The locale to use. See .Xr environ 7 for more information. -.It Ev POSIXLY_CORRECT -If this environment variable is defined, the -.Fl l -option will be interpreted in accordance with -.St -p1003.1-96 . .It Ev TAPE The default tape device. The @@ -681,13 +669,16 @@ This is a complete re-implementation based on the .Xr libarchive 3 library. .Sh BUGS -POSIX and GNU violently disagree about the meaning of the +This program follows +.St -p1003.1-96 +for the definition of the .Fl l option. -Because of the potential for disaster if someone expects -one behavior and gets the other, the +Note that GNU tar prior to version 1.15 treated .Fl l -option is deliberately broken in this implementation. +as a synonym for the +.Fl -one-file-system +option. .Pp The .Fl C Pa dir |