On Thursday 23 May 2002 23:33, Shaul Karl wrote: > $ MYVAR=testing > $ printf "$MYVAR\n" > testing > $ > > It looks like bash mark variables and function which are modified or > created for export to the environment of subsequent commands. > > I believe this wasn't used to be like that. Did the default behavior > changed or is there some configuration file for this behavior?
That behaviour is correct. You type "prinf $MYVAR". But bash executes "printf testing". I checked it wrong. If u export a variable the its avalible for all sub sessions like: $ export TEST=hello $ bash $ echo $TEST hello $exit ***** or **** $ TEST=hello $ bash $ echo $TEST <nothing> $ exit cheers, Raffaele -- Raffaele Sandrini <[EMAIL PROTECTED]> Annoyed about M$ Windows? Don't worry. Try Linux! (www.linux.org) For encrypted Mail get my Public Key from "search.keyserver.net" ID: 0xEC4950E9 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]