As I compiling code with opencv, I found that people use pkg-config to get include and link information. For example,
g++ main.cpp `pkg-config --cflags --libs opencv`
However, as this post: Command substitution: backticks or dollar sign / paren enclosed? says, using $() is preferred.
g++ main.cpp $(pkg-config --cflags --libs opencv)
It seems that grave accent is more frequently in this situation. Why?