gistfile1.txt
· 535 B · Text
Ham
72: group="${5:-}" status="${6:-}" last_seen="${7:-}" \
84: local name_pad ip_pad type_pad ts_pad status_pad
88: ts_pad=$(printf "%-11s" "$last_seen")
105: "$status_color" "$ts_pad"
107: # Normal online row — white fields, colored status/last_seen
113: "$status_color" "$ts_pad"
147: group="${5:-}" status="${6:-}" last_seen="${7:-}"
155: "$padded_status" "$last_seen"
159: "$padded_status" "$last_seen"
177: group="${5:-}" subnet="${6:-}" status="${7:-}" last_seen="${8:-}" \
| 1 | 72: group="${5:-}" status="${6:-}" last_seen="${7:-}" \ |
| 2 | 84: local name_pad ip_pad type_pad ts_pad status_pad |
| 3 | 88: ts_pad=$(printf "%-11s" "$last_seen") |
| 4 | 105: "$status_color" "$ts_pad" |
| 5 | 107: # Normal online row — white fields, colored status/last_seen |
| 6 | 113: "$status_color" "$ts_pad" |
| 7 | 147: group="${5:-}" status="${6:-}" last_seen="${7:-}" |
| 8 | 155: "$padded_status" "$last_seen" |
| 9 | 159: "$padded_status" "$last_seen" |
| 10 | 177: group="${5:-}" subnet="${6:-}" status="${7:-}" last_seen="${8:-}" \ |
| 11 |