==========================================================
# su - oracle<<EOF
> i=data
> echo $i
> EOF
# su - oracle<<EOF
> LANG=C
> i=bin
> /$i/hostname
> EOF
ORACLE_SID = [orcl] ? The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11
.1.0/db_1 is /u01/app/oracle
-bash: line 3: //hostname: No such file or directory
#
==========================================================
echo shows an empty line and the the variable i losts value.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils