Sed's Substitute Command

sed 's/old/new/' file

sed 's/old/new/g' file

sed 's!old!new!' file


[ ] [ Course Contents ] [ Home ] [ Curriculum ]
http://dan-keller.com/training/curric/toi/example-sed.html
Updated Monday, 13-Jan-2020 15:23:57 MST

Copyright © 2020
Dan Keller Technical Services
2248 International Blvd.
Oakland, California, USA 94606
tel: +1 / 415 / 861-4500