Does anybody know which version of sed is required to get option -i to work? I am on CentOS5 and I am getting this error.
Does anybody know which version of sed is required to get option -i to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re going to be using
-iwithsedyou’re doing it wrong.sedis a stream editor and it should be used to edit streams, not files, as-iwants to do.If you want to edit a file, you should be using
ed.edis a line editor and it should be used to edit files. IMO, that’s the tool you want to be using.btw,
-iis a GNUism. from the wikipedia: