sed options should be space separated. sed -n -i -e not sed -nie etc. etc. Reproducible: Always Steps to Reproduce: 1. mkdir sedtest && cd sedtest 2. echo foo > testfile 3. ls 4. sed -ie 's/foo/bar/' testfile 5. ls Actual Results: lieutenant ~ # mkdir sedtest && cd sedtest lieutenant sedtest # echo foo > testfile lieutenant sedtest # ls testfile lieutenant sedtest # sed -ie 's/foo/bar/' testfile lieutenant sedtest # ls testfile testfilee Expected Results: This isn't a software bug. It's a documentation bug on gentoo.org.
it could also be noted that -i isn't highly portable. not all BSD seds have it and gnu sed would need to be 4.x or greater.
if those crappy systems dont support -i they need to update and/or use `gsed`
ok. but -ie is still a bug in the documentation. Not many people will really want the original files left just laying around on their systems.
definitely ... do you know of any other docs with this bug ?
not off hand. Is there a way to search all the docs or do we need to make one? :)
cron-guide.xml is the only one
Fixed. Thanks for reporting.