Quote:
Originally Posted by
methyl
Hi jlliarge. I cited Sunos 4.1.1 based on a comment I made in an old script, though I no longer have a copy of the O/S. This is not the only time I have come across the problem.
Please clarify. What is the problem you came across ?
#1 : That the shell you used was requiring quotes around the curly braces regardless of whether the file that will be found contains a space or not.
#2 : That the find command implementation you were using was requiring the curly braces to be quoted when a found file was containing a space.
As I wrote, I have no problem believing case #1 is possible. I'm still convinced problem #2 is a urban legend. All the links you provided are only referring to #1, i.e. the shell expanding {} to something else, just like the semicolon is expanded to an end of instruction and so need to be either escaped or quoted with most if not all shells.
The open poster claim #2 is real which I can't agree with.