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 - Unable to make sub reports with Jasper -

sql - The object name contains more than the maximum number of prefixes. The maximum is 2 -

Java Web Service Soap fault exception client -