{"id":1103,"date":"2019-09-05T16:30:01","date_gmt":"2019-09-06T00:30:01","guid":{"rendered":"https:\/\/accretiondisc.com\/blog\/?p=1103"},"modified":"2019-09-05T16:30:01","modified_gmt":"2019-09-06T00:30:01","slug":"rust-command-line-utilities","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2019\/09\/05\/rust-command-line-utilities\/","title":{"rendered":"Rust Command-Line Utilities"},"content":{"rendered":"<p>I&#8217;ve been learning (or maybe beginning to learn) the Rust programming language. (It was a toss-up between that and Go, and I probably picked wrong, but I won&#8217;t know until I know a lot more than I do now.)<\/p>\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/github.com\/XAMPPRocky\/tokei\">Tokei<\/a> (for counting source code lines) and  <\/li><li><a href=\"https:\/\/github.com\/mookid\/diffr\">diffr<\/a> as an alternative to colordiff<\/li><li><a href=\"https:\/\/github.com\/BurntSushi\/ripgrep\">ripgrep<\/a> as an alternative to ack (etc.)<\/li><li><a href=\"https:\/\/github.com\/casey\/just\">just<\/a> as a command runner (think &#8220;make&#8221;)<\/li><li><a href=\"https:\/\/github.com\/Peltoche\/lsd\">lsd<\/a> and <a href=\"https:\/\/github.com\/ogham\/exa\">exa<\/a> as replacements for ls<\/li><li><a href=\"https:\/\/github.com\/sharkdp\/pastel\">pastel<\/a> for working with colors on the command line<\/li><li><a href=\"https:\/\/github.com\/lotabout\/skim\">skim<\/a> (not to be confused with the excellent <a href=\"https:\/\/skim-app.sourceforge.io\/\">Skim<\/a>) as a fuzzy finder<\/li><li><a href=\"https:\/\/github.com\/bootandy\/dust\">dust<\/a>, <a href=\"https:\/\/ownyourbits.com\/2018\/03\/25\/analyze-disk-usage-with-dutree\/\">dutree<\/a>, and <a href=\"https:\/\/github.com\/Byron\/dua-cli\">dua-cli<\/a> as replacements for du<\/li><li><a href=\"https:\/\/github.com\/sharkdp\/bat\">bat<\/a> (&#8220;better cat&#8221;) and <a href=\"https:\/\/github.com\/lunaryorn\/mdcat\">mdcat<\/a> (cat for markdown)<\/li><li><a href=\"https:\/\/github.com\/starship\/starship\">starship<\/a> (prompt)<\/li><\/ul>\n\n\n\n<p>I&#8217;m only beginning to play with these. But I was surprised to see so much activity developing command line utilities. There is some misunderstanding of the Unix philosophy, but it&#8217;s understandable (<code>cat<\/code> isn&#8217;t for <em>viewing<\/em> files, but of course that&#8217;s how most of us use it). Yay open source!<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been learning (or maybe beginning to learn) the Rust programming language. (It was a toss-up between that and Go, and I probably picked wrong, but I won&#8217;t know until I know a lot more than I do now.) Tokei (for counting source code lines) and diffr as an alternative to colordiff ripgrep as an [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[23,52],"tags":[377],"class_list":["post-1103","post","type-post","status-publish","format-standard","hentry","category-life","category-technology","tag-cli"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-hN","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/1103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/comments?post=1103"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/1103\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=1103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=1103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=1103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}