how to make command substitution in fish shell? -


in bash or zsh can write

clang++ main.cpp -g -o bin/main `pkg-config --cflags --libs opencv` 

how can translate fish shell?

fish uses parenthesis command substitutions.

clang++ main.cpp -g -o bin/main (pkg-config --cflags --libs opencv) 

note parenthesis nest nicely, unlike backticks!


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -