{"id":118241,"date":"2024-01-25T09:09:11","date_gmt":"2024-01-25T00:09:11","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=118241"},"modified":"2024-01-25T09:09:11","modified_gmt":"2024-01-25T00:09:11","slug":"csvlens","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/csvlens\/","title":{"rendered":"csvlens - less\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3CSV\u30d5\u30a1\u30a4\u30eb\u30d3\u30e5\u30fc\u30a2\u30fc"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/01\/s_20240124_115119.jpg\" alt=\"S 20240124 115119\" title=\"s_20240124_115119.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u300cCSV\u30d5\u30a1\u30a4\u30eb\u300d\u306f\u3001\u5404\u9805\u76ee\u304c\u30ab\u30f3\u30de\u3067\u533a\u5207\u3089\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<p>\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3084\u3001cat\/less\/more\u306a\u3069\u306e\u30c4\u30fc\u30eb\u306b\u3088\u3063\u3066\u4e2d\u8eab\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u306e\u72b6\u614b\u3067\u306f\u3042\u307e\u308a\u898b\u3084\u3059\u304f\u8868\u793a\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/YS-L\/csvlens\">csvlens<\/a>\u300d\u306f\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3067\u3059\u3002Rust\u3067\u66f8\u304b\u308c\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30c4\u30fc\u30eb\u3067\u3001Windows\/Linux\/macOS\u5411\u3051\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u4f7f\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>csvlens\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>csvlens\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306f<a href=\"https:\/\/github.com\/YS-L\/csvlens\/releases\">GitHub<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3082\u3057\u304f\u306fHomebrew\u3084Cargo\u3001Linux\/Windows\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>GitHub\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u3001tar.xz\u306e\u4e2d\u306b\u542b\u307e\u308c\u308bcsvlens\u30d5\u30a1\u30a4\u30eb\u3092\u30d1\u30b9\u304c\u901a\u3063\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002macOS\u306e\u5834\u5408\u3001\u521d\u56de\u5b9f\u884c\u6642\u306fFinder\u304b\u3089\u300c\u958b\u304f\u300d\u3092\u9078\u629e\u3057\u3066\u5b9f\u884c\u8a31\u53ef\u3092\u4e0e\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>csvlens\u306f\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3057\u3066\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u90f5\u4fbf\u756a\u53f7\u30c7\u30fc\u30bf<code>utf_ken_all.csv<\/code>\u3092\u8aad\u307f\u8fbc\u307f\u305f\u3044\u5834\u5408\u3001\u6b21\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\ncsvlens utf_ken_all.csv\r\n<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u304c\u898b\u3084\u3059\u304f\u6574\u5f62\u3055\u308c\u305f\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/01\/usage1.jpg\" alt=\"Usage1\" title=\"usage1.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u25b2\u4e00\u884c\u76ee\u306f\u81ea\u52d5\u7684\u306b\u30d8\u30c3\u30c0\u30fc\u884c\u3068\u898b\u306a\u3055\u308c\u307e\u3059(\u3053\u306e\u52d5\u4f5c\u3092\u5909\u66f4\u3059\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u307e\u3060\u5b58\u5728\u3057\u306a\u3044\u6a21\u69d8)\u3002hjkl\u3084\u77e2\u5370\u30ad\u30fc\u3001\/\u30ad\u30fc\u306b\u3088\u308b\u691c\u7d22\u6a5f\u80fd\u306a\u3069\u3092\u5229\u7528\u3057\u3066\u76ee\u7684\u306e\u30c7\u30fc\u30bf\u3092\u63a2\u3059\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d1\u30a4\u30d7\u6a5f\u80fd\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u300c\u30c8\u30a6\u30ad\u30e7\u30a6\u300d\u3092\u542b\u3080\u30c7\u30fc\u30bf\u3060\u3051\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u3001\u6b21\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\ngrep \u30c8\u30a6\u30ad\u30e7\u30a6 utf_ken_all.csv | csvlen\r\n<\/pre>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/01\/usage2.jpg\" alt=\"Usage2\" title=\"usage2.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u25b2\u30c7\u30fc\u30bf\u304c\u7d5e\u308a\u8fbc\u307e\u308c\u3066\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u5834\u5408\u3082\u5148\u307b\u3069\u3068\u540c\u69d8\u306e\u30ad\u30fc\u30d0\u30a4\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n$ csvlens --help\r\nUsage: csvlens [OPTIONS] [FILENAME]\r\n\r\nArguments:\r\n  [FILENAME]  CSV filename\r\n\r\nOptions:\r\n  -d, --delimiter <DELIMITER>      Delimiter character (comma by default) or \"auto\" to auto-detect the delimiter\r\n  -t, --tab-separated              Use tab separation. Shortcut for -d '\\t'\r\n  -i, --ignore-case                Searches ignore case. Ignored if any uppercase letters are present in the search string\r\n      --echo-column <ECHO_COLUMN>  Print the value of this column to stdout for the selected row\r\n      --debug                      Show stats for debugging\r\n  -h, --help                       Print help\r\n  -V, --version                    Print version\r\n<\/pre>\n<p><code>-d --delimiter<\/code>\u3067\u30c7\u30ea\u30df\u30bf\u3092\u6307\u5b9a\u3067\u304d\u308b\u307b\u304b\u3001<code>-t<\/code>\u306b\u3088\u3063\u3066\u30bf\u30d6\u533a\u5207\u308a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u6271\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/01\/s_20240124_121312.jpg\" alt=\"S 20240124 121312\" title=\"s_20240124_121312.jpg\" border=\"0\" width=\"745\" height=\"466\" \/><\/p>\n<p>hjkl\u306e\u4ed6\u306b\u3082<code>Ctrl+f<\/code>\u3001<code>Ctrl+b<\/code>\u306a\u3069\u591a\u6570\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u304c\u6e96\u5099\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8a73\u7d30\u306f<a href=\"https:\/\/github.com\/YS-L\/csvlens\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u3067\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>csvlens\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u8efd\u5feb\u306b\u52d5\u4f5c\u3059\u308bCSV\u30d5\u30a1\u30a4\u30eb\u30d3\u30e5\u30fc\u30a2\u30fc\u3067\u3059\u3002utf_ken_all.csv\u306e\u3088\u3046\u306a\u5927\u304d\u306a\u30b5\u30a4\u30ba\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u554f\u984c\u7121\u304f\u52d5\u4f5c\u3059\u308b\u5b9f\u7528\u7684\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<table>\n<tr>\n<th rowspan='4' style='white-space: nowrap;'><img decoding=\"async\" style=\"max-width: 52px; height: auto;\" src=\"https:\/\/softantenna.com\/uploads\/software\/7732\/i_screenshot1.jpg\" \/><\/th>\n<th style='white-space: nowrap;'>\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>csvlens<\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u516c\u5f0f\u30b5\u30a4\u30c8<\/th>\n<td><a href=\"https:\/\/github.com\/YS-L\/csvlens\">https:\/\/github.com\/YS-L\/csvlens<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u30bd\u30d5\u30c8\u30a2\u30f3\u30c6\u30ca<\/th>\n<td><a href=\"https:\/\/softantenna.com\/softwares\/7732-csvlens\">https:\/\/softantenna.com\/softwares\/7732-csvlens<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u8aac\u660e<\/th>\n<td>less\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306eCSV\u30d3\u30e5\u30fc\u30a2\u30fc\u3002<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u300cCSV\u30d5\u30a1\u30a4\u30eb\u300d\u306f\u3001\u5404\u9805\u76ee\u304c\u30ab\u30f3\u30de\u3067\u533a\u5207\u3089\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002 \u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3084\u3001cat\/less\/more\u306a\u3069\u306e\u30c4\u30fc\u30eb\u306b\u3088\u3063\u3066\u4e2d\u8eab\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u306e\u72b6\u614b\u3067\u306f\u3042\u307e\u308a\u898b\u3084\u3059\u304f\u8868\u793a\u3059\u308b\u3053\u3068\u306f\u3067\u304d [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":118249,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[858],"class_list":["post-118241","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-csv"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/118241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=118241"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/118241\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/118249"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=118241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=118241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=118241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}