sed fails with “unknown option to `s'” error [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions about general computing hardware and software on Stack Overflow. You can edit the question so it’s on-topic for Stack Overflow. Closed 1 year ago. Improve this question I’m trying to use sed -i -e “s/.*seb.*/ \”$ftp_login_template\”https://stackoverflow.com/” … Read more

Change multiple files

The following command is correctly changing the contents of 2 files. sed -i ‘s/abc/xyz/g’ xaa1 xab1 But what I need to do is to change several such files dynamically and I do not know the file names. I want to write a command that will read all the files from current directory starting with xa* … Read more