https://bugzilla.novell.com/show_bug.cgi?id=331884#c14
John McManaman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|auxsvr@yahoo.com |
--- Comment #14 from John McManaman 2007-10-10 05:37:42 MST ---
Yes, this file works fine. The problem above still confuses me, though. What is
the difference between TEST=${1+"$@"} and then "find $TEST ...", and find
${1+"$@"}... ? Shouldn't they do exactly the same thing? My version, that
works, is:
OLDIFS="${IFS}"
IFS=':;'
set -- $(kpsewhich --show-path=ls-R 2> /dev/null)
IFS="${OLDIFS}"
TEST=${1+"$@"}
set -- $(find $TEST -prune -type d -and -not -fstype nfs -print 2>
/dev/null)
This one doesn't work:
OLDIFS="${IFS}"
IFS=':;'
set -- $(kpsewhich --show-path=ls-R 2> /dev/null)
IFS="${OLDIFS}"
# TEST=${1+"$@"}
set -- $(find ${1+"$@"} -prune -type d -and -not -fstype nfs -print 2>
/dev/null)
Why?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.