{"id":3594,"date":"2019-06-29T22:34:40","date_gmt":"2019-06-29T14:34:40","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3594"},"modified":"2019-06-29T22:34:42","modified_gmt":"2019-06-29T14:34:42","slug":"let","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/let","title":{"rendered":"let\u547d\u4ee4 – \u6267\u884c\u4e00\u4e2a\u6216\u591a\u4e2a\u8868\u8fbe\u5f0f"},"content":{"rendered":"\n

let\u547d\u4ee4\u662fbash\u4e2d\u7528\u4e8e\u8ba1\u7b97\u7684\u5de5\u5177\uff0c\u7528\u4e8e\u6267\u884c\u4e00\u4e2a\u6216\u591a\u4e2a\u8868\u8fbe\u5f0f\uff0c\u53d8\u91cf\u8ba1\u7b97\u4e2d\u4e0d\u9700\u8981\u52a0\u4e0a $ \u6765\u8868\u793a\u53d8\u91cf\u3002\u5982\u679c\u8868\u8fbe\u5f0f\u4e2d\u5305\u542b\u4e86\u7a7a\u683c\u6216\u5176\u4ed6\u7279\u6b8a\u5b57\u7b26\uff0c\u5219\u5fc5\u987b\u5f15\u8d77\u6765\u3002 <\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> let [\u53c2\u6570]<\/p>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u81ea\u52a0\u64cd\u4f5c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# let no++ <\/pre>\n\n\n\n

\u81ea\u51cf\u64cd\u4f5c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# let no--<\/pre>\n","protected":false},"excerpt":{"rendered":"

let\u547d\u4ee4\u662fbash\u4e2d\u7528\u4e8e\u8ba1\u7b97\u7684\u5de5\u5177\uff0c\u7528\u4e8e\u6267\u884c\u4e00\u4e2a\u6216\u591a\u4e2a\u8868\u8fbe\u5f0f\uff0c\u53d8\u91cf\u8ba1\u7b97\u4e2d\u4e0d\u9700\u8981\u52a0\u4e0a $ \u6765\u8868\u793a\u53d8\u91cf\u3002\u5982\u679c\u8868\u8fbe […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3594"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3594"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3594\/revisions"}],"predecessor-version":[{"id":3733,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3594\/revisions\/3733"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}