Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
61 votes
7 answers
22k views

How can I achieve portability with sed -i (in-place editing)?

I'm writing shell scripts for my server, which is a shared hosting running FreeBSD. I also want to be able to test them locally, on my PC running Linux. Hence, I'm trying to write them in a portable ...
Red's user avatar
  • 1,462