原文
| ||||||||||
| ||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=43410692
这个 Hacker News 帖子讨论了 `fd`,一个比 `find` 命令更快、更友好的替代品。一位用户 `snide` 称赞了 `fd`,并鼓励其他高薪工程师为像 sharkdp 这样的开源开发者提供经济支持,强调这会对互联网生态系统产生积极影响。另一位用户 `tucnak` 分享了他使用的别名:`fd="rg --files | rg"`。 然而,`oguz-ismail` 对 `fd` 的 UTF-8 假设提出了担忧,这在处理包含非 UTF-8 字符的文件名时可能会导致错误。他们用名为 "a.\xFF" 的文件和土耳其语言环境的例子演示了这个问题。他们解释说 `fd` 假设参数是 UTF-8 编码的,而文件名并不总是限于这种编码。`coldpie` 要求更详细地说明这个问题,`oguz-ismail` 对原因进行了澄清。
| ||||||||||
| ||||||||||
![]() |
bat, fd, hexyl, hyperfine
I'm going to take this moment to remind all of you well-paid engineers that if we each spread $10 a month sponsoring talented software makers like sharkdp the Internet would be a better place.
So many great little tools out there and we should try to support an ecosystem for them.
reply