Timeline for How to Tail -f output with colors using only Awk and show the rest of the output?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 19, 2016 at 7:37 | history | edited | Stephen Kitt | CC BY-SA 3.0 | Add missing semi-colons (see http://unix.stackexchange.com/questions/202689/how-to-truncate-the-second-column-to-given-length/202691#202691 for details). |
| May 18, 2016 at 20:38 | comment | added | Stephen Kitt | @duckx I've updated my answer to explain how it works. My approach here is to print all lines, modifying those which need colouring before they're printed. | |
| May 18, 2016 at 20:35 | history | edited | Stephen Kitt | CC BY-SA 3.0 | Explain how the program works. |
| May 18, 2016 at 19:58 | comment | added | Patoshi パトシ | But how come you're able to print the entire section while I can only print the line i searched for? | |
| May 18, 2016 at 19:19 | comment | added | Patoshi パトシ | What is the $0 variable for and how is that used? And what does the 1 at the end of the line represent? thanks | |
| May 18, 2016 at 15:17 | history | answered | Stephen Kitt | CC BY-SA 3.0 |