Timeline for How to replace single or double space in a text file when between quotes
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 2, 2016 at 15:38 | history | edited | Uwe | CC BY-SA 3.0 |
Integrated Stephanes comment.
|
| Aug 2, 2016 at 15:27 | comment | added | Uwe | @StéphaneChazelas Thanks, that simplifies these constructions quite a lot. | |
| Aug 2, 2016 at 15:22 | comment | added | Stéphane Chazelas |
Can be shortened (with recent perl) to: perl -pe 's/".*?"/$&=~s: +:,:gr/ge' (the r flag being the recent addition)
|
|
| Aug 2, 2016 at 15:20 | comment | added | sjsam | Nice and well explained ++ | |
| Aug 2, 2016 at 15:17 | history | answered | Uwe | CC BY-SA 3.0 |