Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

sed operation

What does the s and g used in the following expression ? Tks
sed 's/-error_log//g'`
SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK
AXISHK

ASKER

can't get the concept. Is there any example to illustrate more ? Tks
echo 'aaa-error_logbbb-error_logccc' | sed 's/-error_log//g'
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Tks