On Sun, May 20, 2007 at 10:38:21PM -0400, Philip Ganchev wrote: > I'm not sure why the command substitution part is useful. > > Incidentally, a more radical idea used in YubNub solves this and > another problem: use a builtin called "var" for all variable > operations, including setting, getting and removing: > > var A --set-global hello bye > > var A > hello bye > > echo "say: (var A) now!" > say: hello bye now! > > var A --erase
alternatively, since strings can be concatenated the following should work: > echo "say: "$A" now!" and would still work if string interpolation is removed. greetings, martin. -- cooperative communication with sTeam - caudium, pike, roxen and unix offering: programming, training and administration - anywhere in the world -- pike programmer working in new zealand open-steam.org|webhaven.co.nz unix system- bahai.or.at iaeste.(tuwien.ac|or).at administrator (caudium|gotpike).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
