Commit Graph

2 Commits

Author SHA1 Message Date
Roberto E. Vargas Caballero 22f110db28 libutil: Remove free() from strnsub()
The free() was added in the wrong assumption that xargs was not
freeing the argument in the position replaced, but it actually
does it.

Also, removing the call to free() makes more general the function.
2023-09-22 11:44:58 +02:00
sewn 8d97acc135 xargs: add replace string flag (-I) 2023-09-22 10:34:36 +02:00