3 ms·
See https://stackoverflow.com/q/24275070 https://stackoverflow.com/q/24275070 for a list of differences between various sed versions. Just seeing the length of
by asicsp 5y ago
See https://stackoverflow.com/q/24275070 https://stackoverflow.com/q/24275070 for a list of differences between various sed versions. Just seeing the length of the answer is intimidating.
Perl is another great option for portability.
- NegativeLatency 5y agoAnother plus of Perl is that it’s a little easier to specify tabs new lines and other escaped characters than in sed in my experience. In Perl I’ll usually get it right the first time, but in sed I might have to do something dumb like sticking a literal newline in a variable or something.