Alex Rivera | Logout

What GNU/Linux command-line tool would I use for performing a search and replace on a file?

Asked 2008-10-01T02:02:55.790
28

What GNU/Linux command-line tool would I use for performing a search and replace on a file?

Can the search text, and replacement, be specified in a regex format?

Edit
Report

1 Answer

5

sed, the stream editor, and yes, it uses regex.

answered 2008-10-01T02:04:44.333

Your Answer