Andy's Cafe

Adding Newlines to One Line Files

Last updated :


I have a directory of files and need to find all of the one liners and add newlines to them


The sorting was just useful because it grouped the one liners at the top of the buffer. But then I could cross reference names and open files from dired and make the change I wanted to make.

I tried to do this with consult-find because of this answer, but it didn’t jump me to the file I needed to change. So there’s no added benefit to having the find do an -exec

Reply via email