Timeline for How to use both q and s commands in sed at the same time?
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 12, 2020 at 21:06 | comment | added | thanasisp | I updated with both syntaxes, thanks @StéphaneChazelas | |
| Nov 12, 2020 at 21:05 | history | edited | thanasisp | CC BY-SA 4.0 | added 140 characters in body |
| Nov 12, 2020 at 20:58 | comment | added | Stéphane Chazelas | Note that you don't need the braces if you only run one command on that address range. (sed '1,2 s/a/b/g' would be enough). | |
| Nov 12, 2020 at 20:56 | history | edited | Stéphane Chazelas | CC BY-SA 4.0 | POSIXified |
| Nov 12, 2020 at 19:09 | history | edited | thanasisp | CC BY-SA 4.0 | added 2 characters in body |
| Nov 12, 2020 at 19:06 | comment | added | Paul | For some reason this never crossed my mind.Thank you ! | |
| Nov 12, 2020 at 19:05 | history | edited | thanasisp | CC BY-SA 4.0 | added 348 characters in body |
| Nov 12, 2020 at 19:04 | vote | accept | Paul | ||
| Nov 12, 2020 at 18:53 | history | answered | thanasisp | CC BY-SA 4.0 |