If I run the command below using BusyBox in Alpine Linux 3.3, a '\' followed by the letter 'n' is printed by sed: sed -i '1 i\execute pathogen#infect()\ncall pathogen#helptags()\n' "$HOME"/.vimrc When using sed proper, '\n' is printed as a newline character instead.
Fixed in git, thanks.