Timeline for Using sed to replace special characters
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 9, 2017 at 14:34 | answer | added | shareef babu | timeline score: 2 | |
| Jun 29, 2015 at 20:12 | comment | added | taliezin | You may try to escape every special character: sed 's/\*\*\*\*\*/sam/g' | |
| Jun 29, 2015 at 20:12 | comment | added | Rosebud | i have tried : sed 's/****/sam/g' test.txt > test2.txt and results in error :sed: bad regex '*****': Invalid preceding regular expression - this does have the blackslash \before the * | |
| Jun 29, 2015 at 18:30 | answer | added | Karthik K | timeline score: 24 | |
| Jun 29, 2015 at 18:27 | comment | added | cuonglm | What command did you try with \* and what the errors you got? | |
| Jun 29, 2015 at 18:25 | history | edited | cuonglm | CC BY-SA 3.0 | added 4 characters in body |
| Jun 29, 2015 at 18:24 | history | edited | taliezin | CC BY-SA 3.0 | added 1 character in body |
| Jun 29, 2015 at 18:23 | review | First posts | |||
| Jun 29, 2015 at 18:25 | |||||
| Jun 29, 2015 at 18:20 | history | asked | Rosebud | CC BY-SA 3.0 |