Oracle Solaris System Administration (MOSC)

MOSC Banner

what is meaning if the sed pattern?

Hi all,

what is the meaning of the sed below. grep the line with "^BACKUP=" from file.txt and pass through sed,

s+ means multiple occurrence of "BACKUP="?

What is +""+g means?

grep '^BACKUP=' file.txt | sed s+BACKUP=+""+g

Thanks

friendly

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center