| ▲ | ykonstant 6 hours ago | |||||||
If you do not have -0 options in your xargs/find, I wonder if you will have those extensions in your awk/sed. Perl is a different story. | ||||||||
| ▲ | MrDOS 4 hours ago | parent [-] | |||||||
I think the parent was referring to using awk/sed to do the equivalent of:
I.e., a blind replacement without the tool having any particular semantic understanding of what it's translating.That still requires your xargs to have -0 support, though, and I'd be surprised to have that without the corresponding option on find. But I've done this before when feeding xargs from something other than find. | ||||||||
| ||||||||