{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/436","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/436/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/436/events","html_url":"https://github.com/fish-shell/fish-shell/issues/436","id":9167084,"number":436,"title":"fish has no true array (arrays are strings delimited by \\x1e)","user":{"login":"xiaq","id":582021,"avatar_url":"https://avatars.githubusercontent.com/u/582021?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaq","html_url":"https://github.com/xiaq","followers_url":"https://api.github.com/users/xiaq/followers","following_url":"https://api.github.com/users/xiaq/following{/other_user}","gists_url":"https://api.github.com/users/xiaq/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaq/subscriptions","organizations_url":"https://api.github.com/users/xiaq/orgs","repos_url":"https://api.github.com/users/xiaq/repos","events_url":"https://api.github.com/users/xiaq/events{/privacy}","received_events_url":"https://api.github.com/users/xiaq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4","html_url":"https://github.com/fish-shell/fish-shell/milestones/fish-future","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4/labels","id":130257,"number":4,"title":"fish-future","description":"These are bugs that are not targeted for an upcoming release. After a release, we will reexamine these bugs and pull any in that we think are good targets.\r\n\r\nIf you can provide a fix for a bug in this milestone, we'll generally accept it for the next release even if the bug is not in the release.","creator":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"open_issues":383,"closed_issues":131,"state":"open","created_at":"2012-06-11T02:25:13Z","updated_at":"2015-10-08T07:23:15Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2012-12-11T02:32:24Z","updated_at":"2015-10-09T12:36:12Z","closed_at":null,"body":"In `expand.h`:\r\n\r\n```c\r\n/** Character for separating two array elements. We use 30, i.e. the ascii record separator since that seems logical. */\r\n#define ARRAY_SEP 0x1e\r\n\r\n/** String containing the character for separating two array elements */\r\n#define ARRAY_SEP_STR L\"\\x1e\"\r\n```\r\n\r\nThis results in:\r\n\r\n```fish\r\nxiaq@blackie ~> set a (printf 'a\\x1eb')\r\nxiaq@blackie ~> count $a\r\n2\r\nxiaq@blackie ~> set a (printf 'a\\x1fb')\r\nxiaq@blackie ~> count $a\r\n1\r\n```\r\n\r\nIt's clear that the char \\x1e is treated specially as element delimiter."},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/146854939","html_url":"https://github.com/fish-shell/fish-shell/issues/436#issuecomment-146854939","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/436","id":146854939,"user":{"login":"zanchey","id":520741,"avatar_url":"https://avatars.githubusercontent.com/u/520741?v=3","gravatar_id":"","url":"https://api.github.com/users/zanchey","html_url":"https://github.com/zanchey","followers_url":"https://api.github.com/users/zanchey/followers","following_url":"https://api.github.com/users/zanchey/following{/other_user}","gists_url":"https://api.github.com/users/zanchey/gists{/gist_id}","starred_url":"https://api.github.com/users/zanchey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanchey/subscriptions","organizations_url":"https://api.github.com/users/zanchey/orgs","repos_url":"https://api.github.com/users/zanchey/repos","events_url":"https://api.github.com/users/zanchey/events{/privacy}","received_events_url":"https://api.github.com/users/zanchey/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T12:36:12Z","updated_at":"2015-10-09T12:36:12Z","body":"You can't use `\\0` in environment variables, so it would make it hard to export arrays to child shells."}}