Quote:
Originally Posted by deadeyes
It is just that the linux find has this option available.
So scripting is not necessary.
|
Code:
# pkg_add -r findutils
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/findutils.tbz... Done.
~ % pkg_info -L -x findutils | grep bin
/usr/local/bin/gfind
/usr/local/bin/goldfind
/usr/local/bin/glocate
/usr/local/bin/gupdatedb
/usr/local/bin/gxargs
~ % rehash
~ % gfind --version
find (GNU findutils) 4.4.0
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Built using GNU gnulib version e5573b1bad88bfabcda181b9e0125fb0c52b7d3b
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS() CBO(level=0)
~ %
Quote:
Originally Posted by deadeyes
(and purely bash )
|
Which part of it works only in
bash(1) while it works without any problem on POSIX
sh(1) (first line indicates parser as /bin/sh ... not
bash(1))