Hi all, I'm a new Fish user; it looks promising. The documentation is actually readable!
I am wondering how array environment variables, like PATH, work. Specifically I wonder how they are stored and how they are communicated to other processes when they are exported. For example, when I fire up Python, I see that any array variables I exported from Fish are colon-delimeted. That is, if I do set -x listvar hello hello2 it seems the value of this as seen by other processes is that listvar is a string, equal to 'hello:hello2'. The same is true if I export listvar to bash. It is just UNIX convention to delimit these sorts of variables with colons? Does fish hide this from the user? Also I noticed that in fish, 'echo $listvar' yields 'hello hello2'. In bash, the same command (whether with the bash builtin or with /bin/echo; I like fish's principle of stripping out the unnecessary builtins) yields 'hello:hello2'. Why the difference? Thanks, Omari ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
