My configure script for PHP has grown to be verbose and it's annoying having to paste it in as a single line. Can I store the switches in a file and somehow include the file instead of all the switches manually?
"\" thats what I was looking for...sweetness...thanks man.
p.s-Do you happen to know when you invoke ./configure and it's switches require a directory...if you provide the switch but not the directory does it use a default?
I'm trying to install IMAP now and it requires Kerberos and SSL but have no idea where those directories are so I left them blank and ./configure worked not sure if it actuallyed worked or just didn't raise an error.
in shell the && operator means - "continue with next command if the current one has exited with no errors (exit code)".
It's the opposite of "||" which means - "continue with next command if the current one has exited with some errors"
There are 10 types of people in this world, those who understand binary and those who don't
&& is the AND operator, || is the OR operator. It's a bit more specific than "do this if the previous fails/passes" as it is dependant on the return code of the command, some applications return 1 as the success code (which is incorrect, it should be 0) so be aware.
Jenk wrote:&& is the AND operator, || is the OR operator. It's a bit more specific than "do this if the previous fails/passes" as it is dependant on the return code of the command, some applications return 1 as the success code (which is incorrect, it should be 0) so be aware.
Also, the expression is evaluated from left to right and its evaluation stops if a value of an operand is enough to define the result: