SyntaxFix
Write A Post
Hire A Developer
Questions
Like this:
sed 's/aaa=.*/aaa=xxx/'
If you want to guarantee that the aaa= is at the start of the line, make it:
aaa=
sed 's/^aaa=.*/aaa=xxx/'