Timeline for Using variable with awk -v in a shell script
Current License: CC BY-SA 3.0
        5 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 10, 2014 at 16:13 | comment | added | Sreeraj | Thanks for all the replies. I re-wrote everything in Python. | |
| Dec 10, 2014 at 14:12 | comment | added | user78605 | Could change the whole thing to b=$(awk -vbenchmark='30' '/Waiting for timer/&&$6>benchmark{x++}END{print x}' wk.txt)or if you didn't wnat a pointless variableb=$(awk '/Waiting for timer/&&$6>30{x++}END{print x}' wk.txt) | |
| Dec 10, 2014 at 11:01 | answer | added | garethTheRed | timeline score: 2 | |
| Dec 10, 2014 at 10:14 | answer | added | muru | timeline score: 3 | |
| Dec 10, 2014 at 10:03 | history | asked | Sreeraj | CC BY-SA 3.0 |