Entering edit mode
4 months ago
JustinZhang
▴
140
I'm sure I'm not the only one who often use awk/sed/grep/ripgrep/fd with complicated regex to deal with some tasks about text files, and sometimes writting a legal and elegant expression is not easy. As a result, I rely on LLM to write it.
However, I find out that chatGPT and some other LLMs might fail this job, because 1) the task is too complicated for them, even in reasoning mode; 2) the train data is outdated, so they don't know the usage of ripgrep / fd and other new tools.
Do you know some LLMs & tools that are super powerful (able to solve it within 3 rounds of talking / in 5 minutes) in this case?
I, personally, did not yet encounter any that will do this nicely unfortunately (and I gave several a try already). It usually fails to grasp even the basic concepts of regex writing
(and good to hear others are struggling with this as well )
Can you provide an example of something that you have tried that did not work? Perhaps it is matter of the question you ask and how you ask it.