libera/#devuan/ Saturday, 2023-03-11

talismanickHow might I install useful packages like fd? (Rust rewrite of find(1))21:46
gnarfacei'm guessing it's in the package called "fd-find"21:47
hagbardIt even says so in the Readme of the github repo of fd: "apt install fd-find"21:49
talismanickAh, I was going to say it still said there's no binary "fd", but it's instead "fdfind"21:49
talismanickhagbard: Serves me right for not looking lol21:49
hagbardBut thanks for pointing me to fd, it looks interesting.21:52
talismanickIt's so much faster than find! And, it feels more Unixy21:52
hagbardtalismanick: you could, in your shell (.bashrc), alias fdfind to fd.21:57
rwp"find" is one of those odd commands that was written to a spec from an outside department and so does not follow the syntax conventions of other Unix programs of the era.23:40
rwpSince aliases only work on the command line and one might want this to work in a script when I hit those cases I create a shell wrapper #!/bin/sh; exec fdfind "$@"; and then it can be used anywhere.23:42
rwp(Not that I have done that with fdfind before.  That's just an example.)23:42

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!