~adigitoleo/geobits

b801c50ac78dda90937c9d4e4ec5a58a0a1930d0 — adigitoleo 3 months ago 1053741 master
fix: Clean up q,stat  output format
1 files changed, 5 insertions(+), 2 deletions(-)

M tools/q,stat.sh
M tools/q,stat.sh => tools/q,stat.sh +5 -2
@@ 13,5 13,8 @@ is_command() {
[ $# -eq 0 ] && { helpf; exit 1; }
[ "$1" = "-h" ] && { helpf; exit 1; }
is_command qstat || exit 1
qstat -s1x "$(cat "$1")"
is_command nqstat_anu && nqstat_anu "$(cat "$1")"
qstat -sx "$(cat "$1")"|awk 'NR > 3'
if is_command nqstat_anu; then
    echo
    nqstat_anu "$(cat "$1")"
fi