home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.bash.bug
- Path: sparky!uunet!cis.ohio-state.edu!cs.mu.oz.AU!kre
- From: kre@cs.mu.oz.AU (Robert Elz)
- Subject: Re: alias
- Message-ID: <9224706.24524@mulga.cs.mu.OZ.AU>
- Keywords: alias
- Sender: gnulists@ai.mit.edu
- Organization: Computer Science, University of Melbourne, Australia
- References: <19390@ector.cs.purdue.edu>
- Distribution: gnu
- Date: Wed, 2 Sep 1992 20:25:46 GMT
- Approved: bug-bash@prep.ai.mit.edu
- Lines: 20
-
- In <1992Sep2.000915.16261@wdl.loral.com>
- mdm@wdl1.wdl.loral.com (Mike D Marchionna) writes:
-
- | function xdsp () { declare -x DISPLAY=$1:0.0 }
-
- Try not using declare, as in
-
- mulga$ g()
- > {
- > AAA=$1
- > export AAA
- > }
- mulga$ g hello
- mulga$ echo $AAA
- hello
-
- Whether the way "declare" works is a bug or not someone else can say.
-
- kre
-
-