SQLPLUS BANG AND HOST DIFFERENT
From: David Bath <dtb_at_otto.bf.rmit.oz.au>
Date: 21 Feb 92 02:53:28 GMT
Message-ID: <dtb.698640808_at_otto>
will work
Date: 21 Feb 92 02:53:28 GMT
Message-ID: <dtb.698640808_at_otto>
Using sqlplus 3, I found that the ! and host commands are different.
!ls
does the same as
host ls
However
! Does not translate Oracle defined variables
host Does translate Oracle defined variables
Thus :
! test -d $HOME && echo "You have a home"
will work
define fred="hello" host echo "&&fred"
will work
But : host test -d $HOME && echo "You have a home"
WILL NOT WORK. Received on Fri Feb 21 1992 - 03:53:28 CET