[Bug 229481] find(1) fails to expand {} with preceding/following non-whitespace, as specified by man page

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 28 21:49:02 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229481

Oleksandr Tymoshenko <gonzo at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gonzo at FreeBSD.org
         Resolution|---                         |Not A Bug
             Status|New                         |Closed

--- Comment #1 from Oleksandr Tymoshenko <gonzo at FreeBSD.org> ---
this looks like possible csh issue:

/bin/sh and bash:

% /usr/bin/find . -maxdepth 1 -exec echo "(result):"{}  \;
(result):.
(result):./dir 3
(result):./-foo
(result):./dir 4
(result):./ dir 5
(result):./dir 2
(result):./dir 1

/bin/csh and /bin/tcsh:

% /usr/bin/find . -maxdepth 1 -exec echo "(result):"{}  \;
(result):
(result):
(result):
(result):
(result):
(result):
(result):
% /usr/bin/find . -maxdepth 1 -exec echo "(result):"\{\} \;
(result):.
(result):./dir 3
(result):./-foo
(result):./dir 4
(result):./ dir 5
(result):./dir 2
(result):./dir 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list