Hi, sorry for the offtopic, but maybe somebody can help me here.
I've the following variable:
[code]
# echo $BINMAKE
`if [ -x /usr/obj/usr/src/make.i386/make ]; then echo
/usr/obj/usr/src/make.i386/make; else echo make; fi` -m /usr/src/share/mk
#
[/code]
It's a string wich includes a commmand.
How can I get the subcommand replaced by its output?
I'd like to have a second variable like:
[code]
# echo $newvariable
make -m /usr/src/share/mk
#
[code]
Thanks a lot.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"