{"author_name":"dkfj","type":"rich","blog_url":"https://blog.takuros.net/","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30de\u3067\u3042\u308a\u305f\u3044","author_url":"https://blog.hatena.ne.jp/dkfj/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.takuros.net%2Fentry%2F20080222%2F1203641340\" title=\"awk\u3067\u9006\u9806\u3067\u8868\u793a\u3059\u308b - \u30d7\u30ed\u30b0\u30e9\u30de\u3067\u3042\u308a\u305f\u3044\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2008-02-22 09:49:00","height":"190","image_url":null,"width":"100%","description":"awk\u306b\u306f\u3001NR\u3068NF\u3068\u3044\u3046\u7d44\u8fbc\u5909\u6570\u304c\u3042\u308a\u307e\u3059\u3002NR\u306f\u3044\u304f\u3064\u3081\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u51e6\u7406\u3057\u3066\u3044\u308b\u306e\u304b\u3001NF\u306f\u51e6\u7406\u4e2d\u306e\u30ec\u30b3\u30fc\u30c9\u306b\u3044\u304f\u3064\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u3042\u308b\u306e\u304b\u3092\u4fdd\u6301\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u4f7f\u3046\u3068\u51e6\u7406\u306e\u5e45\u304c\u5927\u5e45\u306b\u5e83\u304c\u308a\u307e\u3059\u3002 hoge.txt 1 5 7 2 6 8\u5168\u3066\u306e\u884c\u306e\u6b04\u3092\u9006\u9806\u3067\u5370\u5b57\u3059\u308b\u65b9\u6cd5 % cat hoge.txt | awk '{for(i=NF; i>0; i--) printf(\"%s \",$i); printf(\"\\n\"); }'\u5b9f\u884c\u7d50\u679c 7 5 1 8 6 2","categories":["shell"],"version":"1.0","url":"https://blog.takuros.net/entry/20080222/1203641340","provider_url":"https://hatena.blog","title":"awk\u3067\u9006\u9806\u3067\u8868\u793a\u3059\u308b","provider_name":"Hatena Blog"}