Skip to main content

Timeline for sed find and replace in file

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
May 10, 2017 at 22:48 history edited el-teedee CC BY-SA 3.0
Remove invalid solution + answer clearer + quote important part of the question
May 10, 2017 at 10:49 comment added Philippos + requires extended regular expressions. You'd need an option like -E for that. And \d is unknown to most sed implementations; use [0-9] instead.
May 10, 2017 at 10:02 history edited el-teedee CC BY-SA 3.0
Add another solution to match zero or more digits
May 9, 2017 at 20:26 history edited el-teedee CC BY-SA 3.0
add explanation
May 9, 2017 at 20:12 history edited el-teedee CC BY-SA 3.0
Point another (maybe better) solution from richard's comment
May 9, 2017 at 19:40 review First posts
May 9, 2017 at 20:02
May 9, 2017 at 19:39 history answered el-teedee CC BY-SA 3.0