<!-- markdown-mode-on -->
最近、 `dotfiles` を0から作り直しをやってるんだけど、その中で、 CLI ツールを `brew` じゃなくて `mise` からインストールするように変更中に気づいたことをメモしておく。
使っているPCは、 macOS なんだけど、 コマンドがBSD系なので微妙にオプションが違ったりして使いにくいから brew を使って coreutils をインストールしてずっと使っていたので、同じように mise でも、 coreutils が使えるか調べたら、 coreutils をRustに置き換えを試みてる uutils の方になるらしい。
```bash
$ mise search coreutils
Tool Description
coreutils Cross-platform Rust rewrite of the GNU coreutils. https://github.com/uutils/coreutils
```
<div class="blogcard"><a href="https://github.com/uutils/coreutils" target="_blank"><div class="blogcard-image"><img alt="" loading="lazy" src="https://opengraph.githubassets.com/fd73caf26b7df15ded93feaf12e5719d059048a2b1ae6df34cc8b8bcdc859b1e/uutils/coreutils"></div><div class="blogcard-text"><p class="blogcard-title">uutils/coreutils: Cross-platform Rust rewrite of the GNU coreutils</p><p class="blogcard-description">Cross-platform Rust rewrite of the GNU coreutils. Contribute to uutils/coreutils development by creating an account on GitHub.</p></div><div class="blogcard-footer"><img alt="" loading="lazy" src="https://www.google.com/s2/favicons?domain=https://github.com/uutils/coreutils">github.com</div></a></div>
調べると Ubuntu 25.10で、デフォルトにする動きもあるらしいから、今後も開発が進んでいきそう。
<div class="blogcard"><a href="https://discourse.ubuntu.com/t/carefully-but-purposefully-oxidising-ubuntu/56995" target="_blank"><div class="blogcard-image"><img alt="" loading="lazy" src="https://ubuntucommunity.s3.us-east-2.amazonaws.com/original/3X/9/0/905b15b7d477513b2af0668c333736b100eef109.svg"></div><div class="blogcard-text"><p class="blogcard-title">Carefully But Purposefully Oxidising Ubuntu - Project Discussion - Ubuntu Community Hub</p><p class="blogcard-description">Last month I published Engineering Ubuntu For The Next 20 Years, which outlines four key themes for how I intend to evolve Ubuntu in the coming years. In this post, I’ll focus on “Modernisation”. There are many areas we could look to modernise in Ubuntu: we could focus on the graphical shell experience, the virtualisation stack, core system utilities, default shell utilities, etc. Over the years, projects like GNU Coreutils have been instrumental in shaping the Unix-like experience that Ubuntu ...</p></div><div class="blogcard-footer"><img alt="" loading="lazy" src="https://www.google.com/s2/favicons?domain=https://discourse.ubuntu.com/t/carefully-but-purposefully-oxidising-ubuntu/56995">discourse.ubuntu.com</div></a></div>
従来の`ls`やHomebrewで入れた`gls`とは異なり、`uutils`は`coreutils <コマンド名>`という形式で利用する。
例えば、`ls`コマンドを使いたい場合は`coreutils ls`と入力すれば使えるようになっている。
```bash
$ coreutils
coreutils 0.1.0 (multi-call binary)
Usage: coreutils [function [arguments...]]
coreutils --list
Options:
--list lists all defined functions, one per row
Currently defined functions:
[, arch, b2sum, b3sum, base32, base64, basename, basenc, cat, chgrp, chmod, chown, chroot,
cksum, comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, echo, env, expand,
expr, factor, false, fmt, fold, groups, hashsum, head, hostid, hostname, id, install, join,
kill, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod, mktemp, more, mv, nice, nl,
nohup, nproc, numfmt, od, paste, pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink,
realpath, rm, rmdir, seq, sha1sum, sha224sum, sha256sum, sha3-224sum, sha3-256sum, sha3-
384sum, sha3-512sum, sha384sum, sha3sum, sha512sum, shake128sum, shake256sum, shred, shuf,
sleep, sort, split, stat, stdbuf, stty, sum, sync, tac, tail, tee, test, timeout, touch,
tr, true, truncate, tsort, tty, uname, unexpand, uniq, unlink, uptime, users, vdir, wc, who,
```
このブログを検索
メニュー
-
## 概要 Bloggerに独自ドメインを設定してみた。\ 独自ドメインを設定するのも無料なので、かなり助かる。\ 独自ドメインは、ものによっては年間1000円もかからずに運用できるから、ほんといい時代。 独自ドメインの設定は、下記にある通り簡単にできそう。 カスタム ド...
-
## gitconfigをdotfile管理する gitの設定ファイルをdotfiles管理したいので、調べたら `~/.config/git/config` から読み込んでくれるとのこと。 また、上書きしていく感じになるので、個人的な設定はdotfiles管理できそう。 ...
-
最近、 `dotfiles` を0から作り直しをやってるんだけど、その中で、 CLI ツールを `brew` じゃなくて `mise` からインストールするように変更中に気づいたことをメモしておく。 使っているPCは、 macOS なんだけど、 コマンドがBSD系なので微妙...
0 件のコメント:
コメントを投稿