in reply to Re: editing files with (<>)
in thread editing files with (<>)

That would all be useful advice if he were doing this as a -n oneliner. Since he's not, he can simply loop file by file as I outlined above. No need to complicate the solution overly.

Makeshifts last the longest.