[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help: Command to search & replace word in file?


Jonathan Gift wrote:

> Hi,
> Is there a way from the console to use a grep like command to search a file
> for, say the word "blue" and replace it with "red"?

> with a simple Bash script.

If you accept Perl script, it's really easy since you just have to do a s/blue/red/


Reply to: