Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
jsonã®é åãã·ã§ã«ã¹ã¯ãªããã¨jqã§ã«ã¼ãããã¦åå¾ãã [ { "ip" : "192.168.10.105", "name" : "çé¢" }, { "ip" : "192.168.10.102", "name" : "å± é" }, { "ip" : "192.168.10.101", "name" : "ãã¤ã¬" }, { "ip" : "192.168.10.100", "name" : "å¯å®¤" } ] ãããªæãã®JSONã®é åãã«ã¼ããã¦å¦çãã cat hoge.json |jq -c .[] |while read JSON; do IP=$(echo $JSON |jq -r .ip) NAME=$(echo $JSON |jq -r .name) echo $IP 㯠$NAME ã§ã done $ ./hoge.sh 192.168.10.105 㯠çé¢ ã§ã
0.9.3ã«å ¥ã£ãgeneratorã«ã¤ãã¦ã¯Gauche:Generatorã«ã¾ã¨ãã¾ãã é¨åç¶ç¶?ãã¤ãã£ãã¸ã§ãã¬ã¼ã¿ã«ã¤ãã¦ã¯ãScheme:é¨åç¶ç¶:ã¤ãã¬ã¼ã¿ã®å転ãåç §ãã¦ãã ããã Scheme:åå¿è ã®è³ªåç®±ãã移å doã¨whileã®éã?ãã½ã¯inc!?æ¬å½ã®çç±æ£ããgeneratorã¯?ãã£ã¦ã¿ããç¶ç¶ã¨dynamic-wind doã¨whileã®éã? æè¿ã®EcmaScriptã«ã¯ã¸ã§ãã¬ã¼ã¿ã¨ããæ©è½ãããã¾ããããã¨åããããªæè¦ã§ä½¿ãããã®ãSchemeã§å®è£ ãã¦ã¿ããã¨ãããªãã®ãæ¸ãã¾ããã (define (make-generator proc) (define next #f) (lambda () (if (not next) (call/cc (lambda(break) (proc (lambda arg (call/cc (lambd
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}