Re:Show HN: A command-line tool for slicing and formatting i...
by dsjkvf on Thursday June 12, 2025 @02:20PM
(#44260991)
You realize Vim will detect "sentence" based on exactly the same regex you can feed to awk? And "tabular data", dear me...
[ Parent
| on HN ]
Re:Show HN: A command-line tool for slicing and formatting i...
by video_2 on Thursday June 12, 2025 @05:04PM
(#44263178)
Yes, but vicut is also faster on benchmarks. And you won't need to write out a whole regex.
Also, I'd love to see what this "sentence finding" regex of yours would look like. I'm sure it's way better than just typing "vis"
Re:Show HN: A command-line tool for slicing and formatting i...
by dsjkvf on Friday June 13, 2025 @08:18AM
(#44267861)
> Yes, but vicut is also faster on benchmarks
Than awk? I very, very doubt your 0.001-3s findings.
> I'm sure it's way better than just typing "vis"
Of course. Because you can use it everywhere, that's the whole point of learning regex, awk, or any other POSIX tool.