Timeline for How to use awk to indent a source file based on simple rules?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 1, 2015 at 14:28 | vote | accept | Michael Durrant | ||
| Aug 29, 2015 at 16:19 | history | edited | Gilles 'SO- stop being evil' |
edited tags
|
|
| Aug 29, 2015 at 2:10 | answer | added | cuonglm | timeline score: 8 | |
| Aug 29, 2015 at 1:55 | comment | added | Michael Durrant | That's great! I added an extra space for a two space indent. | |
| Aug 29, 2015 at 1:50 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 259 characters in body
|
| Aug 29, 2015 at 1:42 | comment | added | cuonglm |
Why not awk '!/^describe/ && !/^end/ {printf(" %s\n", $0);next};1'
|
|
| Aug 29, 2015 at 1:35 | history | asked | Michael Durrant | CC BY-SA 3.0 |