Timeline for Generate networking configuration files using sed and bash
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 26, 2014 at 14:56 | vote | accept | Christopher Stanley | ||
| Nov 19, 2014 at 0:42 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |
edited title
|
| Nov 18, 2014 at 20:58 | history | edited | Christopher Stanley | CC BY-SA 3.0 |
added 372 characters in body
|
| Nov 18, 2014 at 20:35 | answer | added | jimmij | timeline score: 1 | |
| Nov 18, 2014 at 20:30 | answer | added | AGHz | timeline score: 1 | |
| Nov 18, 2014 at 20:19 | answer | added | Gilles Quénot | timeline score: 0 | |
| Nov 18, 2014 at 20:18 | comment | added | ryekayo |
Im not sure how you can implement it but using the redirection operators would be a good start to creating the file. If you use the following command: sed -rn '/IPPADDR=)((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])/p' file >> newFile
|
|
| Nov 18, 2014 at 20:11 | history | asked | Christopher Stanley | CC BY-SA 3.0 |