You're viewing a comment by Chirag Deshpande and its responses.

July 17, 2012, 13:17

Peteris,
-i option is not working with sed. Is it platform specific? What are other synonyms of it? I am using HP-UX BTW.

Thanks,
Chirag.

Comment Responses

July 17, 2012, 14:22

It's an option for modern sed implementations. HPUX doesn't have it. You just have to do what -i does yourself, like: sed ... file > file-copy; mv file-copy file

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.