Timeline for Replace each character of white space at the end of each line with '_'
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 30, 2020 at 3:57 | comment | added | user313992 | 1. Don't royal-we me. 2. Welcome to my kill-list. | |
| Mar 30, 2020 at 3:56 | comment | added | Rakesh Sharma | Hello, we are not making production code here. The OP gave a data we tried on it. If you want to nitpick then ask the Op to provide comprehensive input. | |
| Mar 30, 2020 at 3:49 | comment | added | user313992 |
1. It's a bug. 2. Should they mention it? The sed s///e is not twice, or thrice, or ten times slower, but 3000 times slower (and that assuming a multicore system and an OS with very fast process creation, like Linux -- otherwise it can easily get 30000 or 100000 times slower).
|
|
| Mar 30, 2020 at 3:37 | history | edited | Rakesh Sharma | CC BY-SA 4.0 |
added 6 characters in body
|
| Mar 30, 2020 at 3:37 | comment | added | Rakesh Sharma | It is no big deal, just make the tranliteration conditional. Well the OP mentioned no need for speed in his query. | |
| Mar 30, 2020 at 2:49 | comment | added | user313992 |
Your perl will choke on empty lines with Modification of non-creatable array value attempted. You sed s///e (the last) will probably take an hour to finish on an input that the perl will handle in 1 or 2 seconds ;-)
|
|
| Mar 30, 2020 at 2:10 | history | answered | Rakesh Sharma | CC BY-SA 4.0 |