I have an awk script, testscript.script, with command:
$5 > 0 {print $1}
which outputs
 Lebron
 Kobe
 James
 Tony
How can I store this command into a variable var such that when I say print var at any point in the code, the above output will print?
 
    