Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'missing backslash' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
missing backslash
Authored by: wealthychef on Mar 25, '02 11:27:28PM

There is an issue on this site about backslashes getting deleted. The above commands will not work. Specifically, in the line:
find / -name $language.lproj -type d -exec rm -r -- {} ; -prune
there needs to be a backslash before the semicolon, or else it needs to be quoted, e.g.:

find / -name $language.lproj -type d -exec rm -r -- {} ";" -prune
otherwise, the shell thinks the command ends after {}.

[ Reply to This | # ]