-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to 龙海涛 on 11/16/2007 11:21 PM: > two more questions: > 1.about syntax (r "$d") > i didn't find any introduction in 'info bash'. could you tell me how > could find the explanation of '( )'?
Search for the term subshell. > > 2.about synax "find /testcase -name autotest.sh -perm /111 -execdir > bash -c ./autotest.sh \;" > what does the last '\' mean? It is quoting the ; so that the shell won't parse it. By itself, ; is a shell meta-character, but here, you want it to be an argument to find. Read the find documentation for more about why -execdir requires a literal ; to end the sequence. You could also have quoted it as '\' or "\\", but that is more typing. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHPt/I84KuGfSFAYARApv1AKDO+W3IzC6zEcwmAXLdDYF91uZbOACguf/a 6GEsYG+ZubAXn1zeBrgn7SM= =wzir -----END PGP SIGNATURE-----