[clue-tech] question on commands
David Anselmi
anselmi at anselmi.us
Thu Mar 10 18:31:37 MST 2005
Keith Hellman wrote:
[...]
> $ vi $(find . -name application.properites)
> or
> $ vi `find . -name application.properties`
>
> Note the punctuation character is a backtick in the second example.
> Both of these are identical, AFAIK, syntax telling the shell to *first*
> run the find command, replace all runs of whitespace (including newline)
> with 1 space, and then insert the output into the second command
> argument list.
They aren't exactly identical (though they are in this case). Backslash
is interpretted differently with backticks (e.g., as an escape for
nesting other backtick commands). See Command Substitution in bash(1).
Dave
More information about the clue-tech
mailing list