The POSIX spec for sed requires the flag -i to have a string specified. `sed -i'' -e '<expression>'` is portable The POSIX spec for sed also requires the insert "i" option to have newlines. The following is portable: ``` sed -i'' -e '<line-num>i\ text' ``` Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>