2 ms·
sed -i? Not 100% portable across all implementations, but that usually doesn't matter. Some languages also have nice tools for this, such as gofmt -r; I don't
by arp242 4y ago
sed -i? Not 100% portable across all implementations, but that usually doesn't matter.
Some languages also have nice tools for this, such as gofmt -r; I don't know if something like that exists for Ruby.