Skip to main content
4 events
when toggle format what by license comment
Feb 16, 2022 at 7:39 comment added zinking and again for mac users sed -i '' -e
Mar 11, 2016 at 1:53 comment added Wildcard Note that the sequence matters. In the example command given above, all instances of the letter a are turned into b, and then all instances of b are turned into d. You could do the same thing with sed -i -e 's/a\|b/d/g' file—turn all instances of either a or b into d.
Mar 9, 2016 at 13:46 vote accept rclark
Mar 9, 2016 at 13:36 history answered EightBitTony CC BY-SA 3.0