Is there a way to populate the file output from my '.in' file with only the result of a condition evaluation not the condition itself?
So my dev.ini.in file looks like: ============ export [EMAIL PROTECTED]@ if [ $(hostname|cut -d. -f1) = "$(echo ${SCHED_HOST} |cut -d. -f1)" ] then export ORAENV_ASK=NO export ORACLE_SID=SID1 source oraenv fi ============ And I would like the resulting dev.ini to look like this if the above is true: export ORAENV_ASK=NO export ORACLE_SID=SID1 source oraenv At the moment it writes the whole if;then;fi statement Is this where I need to use m4_if perhaps? Thanks Giles _______________________________________________ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf