[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #37106] find: option -L only works when no search path is given:
From: |
Martin Steigerwald |
Subject: |
[bug #37106] find: option -L only works when no search path is given: |
Date: |
Wed, 15 Aug 2012 12:34:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 Iceweasel/14.0.1 |
URL:
<http://savannah.gnu.org/bugs/?37106>
Summary: find: option -L only works when no search path is
given:
Project: findutils
Submitted by: msteamix
Submitted on: Mi 15 Aug 2012 12:34:50 GMT
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.2
Fixed Release: None
_______________________________________________________
Details:
Debian Wheezy with
address@hidden:/tmp/foo$ find --version | head -1
find (GNU findutils) 4.4.2
address@hidden:~> zsh --version
zsh 4.3.17 (x86_64-unknown-linux-gnu)
address@hidden:~#1> bash --version | head -1
GNU bash, Version 4.2.36(1)-release (x86_64-pc-linux-gnu)
address@hidden:~> apt-show-versions | egrep "(bash|zsh|findutils)"
bash/wheezy uptodate 4.2-4
bash-completion/wheezy uptodate 1:2.0-1
findutils/wheezy uptodate 4.4.2-4
zsh/wheezy uptodate 4.3.17-1
Happens in Debian Squeeze as well.
How to reproduce:
address@hidden:/tmp> mkdir foo
address@hidden:/tmp> cd foo
address@hidden:/tmp/foo> mkdir bar
address@hidden:/tmp/foo> mkdir baz
address@hidden:/tmp/foo> touch bar/foo
address@hidden:/tmp/foo> ln -s bar link
address@hidden:/tmp/foo> find -L
.
./bar
./bar/foo
./baz
./link
./link/foo
address@hidden:/tmp/foo> find
.
./bar
./bar/foo
./baz
./link
address@hidden:/tmp/foo> LANG=C find . -L
find: unknown predicate `-L'
address@hidden:/tmp/foo> LANG=C find /tmp/foo -L
find: unknown predicate `-L'
address@hidden:/tmp/foo#1>
That was within Z-Shell, also in Bash:
address@hidden:/tmp/foo$ LANG=C find . -L
find: unknown predicate `-L'
address@hidden:/tmp/foo$ LANG=C find /tmp/foo -L
find: unknown predicate `-L'
address@hidden:/tmp/foo$
Expected result:
find accepts -L also when a search path is given.
Thanks,
Martin
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37106>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [bug #37106] find: option -L only works when no search path is given:,
Martin Steigerwald <=