{"categories":["Kotlin"],"provider_url":"https://hatena.blog","type":"rich","provider_name":"Hatena Blog","blog_url":"https://memo88.hatenablog.com/","height":"190","url":"https://memo88.hatenablog.com/entry/20200711_kotlin_read_stdin_each_line","author_name":"sonota88","width":"100%","title":"Kotlin: \u6a19\u6e96\u5165\u529b\u3092\u8aad\u3093\u3067\u884c\u3054\u3068\u306b\u51e6\u7406","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20200711_kotlin_read_stdin_each_line\" title=\"Kotlin: \u6a19\u6e96\u5165\u529b\u3092\u8aad\u3093\u3067\u884c\u3054\u3068\u306b\u51e6\u7406 - memo486\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","author_url":"https://blog.hatena.ne.jp/sonota88/","blog_title":"memo486","description":"\u7c21\u6613\u7248 \u304a\u624b\u8efd\u306b\u6e08\u307e\u305b\u305f\u3044\u306a\u3089\u3053\u308c\u3067\u3088\u3044\u3063\u307d\u3044\u3002 readLine - Kotlin Programming Language // Cat1.kts while (true) { val line : String? = readLine() if (line == null) { break } println(line) } $ cat Cat1.kts | kotlin Cat1.kts | cat -A while (true) {$ val line : String? = readLine()$ if (line == null) {$ break$ }$ println(lin\u2026","published":"2020-07-11 13:50:45","image_url":null}