4 ms·
Not much over GNU sed. A lot of these perl one liners are from the old days, from unix admins that had versions of sed (or find, etc) that didn't have fancy fe
by tyingq 10y ago
Not much over GNU sed.
A lot of these perl one liners are from the old days, from unix admins that had versions of sed (or find, etc) that didn't have fancy features like -i (inplace edit).
- mark-wagner 10y agoAlso in the old days tools like sed and awk had more arbitrary limitations. E.g., line length was limited to something (reasonable) like 8192 bytes but input data I was processing was not reasonable. GNU sed does not have that limit: https://www.gnu.org/software/sed/manual/html_node/Limitations.html https://www.gnu.org/software/sed/manual/html_node/Limitation...