{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frms-099.hatenablog.jp%2Fentry%2F20150301%2F1425210934\" title=\" \u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5206\u5272\u3059\u308b\u3002 - \u91cf\u7523\u30e1\u30e2\u5e33\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/RMS-099/","categories":["Linux","Cygwin"],"author_name":"RMS-099","image_url":null,"type":"rich","blog_url":"https://rms-099.hatenablog.jp/","blog_title":"\u91cf\u7523\u30e1\u30e2\u5e33","published":"2015-03-01 20:55:34","width":"100%","url":"https://rms-099.hatenablog.jp/entry/20150301/1425210934","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","description":"\u4f8b\u3048\u3070\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb sample.txt \u306e10\u884c\u76ee\u304b\u3089100\u884c\u76ee\u307e\u3067\u3092\u5207\u308a\u51fa\u3059\u6642\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3067\u304d\u308b\u3002 START=10 END=100 cat sample.txt | head -n $END | tail -n `expr $END - $START + 1` \u307e\u305f\u3001\u3053\u3093\u306a\u3084\u308a\u65b9\u3082\u53ef\u80fd\u3002 START=10 END=100 cat sample.txt | head -n $END | tail -n $(($END - $START + 1)) \u53c2\u8003\u8a18\u4e8b\uff1a \u30d2\u30f3\u30c8: head\u3068tail\u3092\u4f7f\u3063\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u30fb\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u5207\u308a\u5206\u3051\u3066\u8aad\u3080 Linux\u30b3\u30de\u30f3\u30c9\u96c6 - \u3010 expr \u3011 \u6574\u6570\u8a08\u2026","title":" \u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5206\u5272\u3059\u308b\u3002","height":"190","version":"1.0"}