4 ms·
Oh that sucks, I really hate when programs impose useless shell parsing instead of letting the user give an argument vector natively.
by PhilipRoman 2y ago
Oh that sucks, I really hate when programs impose useless shell parsing instead of letting the user give an argument vector natively.
- sharkdp 2y agoI don't think it's useless. You can use hyperfine to run multiple benchmarks at the same time, to get a comparison between multiple tools. So if you want it to work without quotes, you need to (1) come up with a way to separate commands and (2) come up with a way to distinguish hyperfine arguments from command arguments. It's doable, but it's also not a great UX if you have to write something like hyperfine -N -- ls "$dir" \; my_ls "$dir"
- oguz-ismail 2y ago> not a great UX Looks fine to me. Obviously it's too late to undo that mistake, but a new flag to enable new behavior wouldn't hurt anyone.