]> wagner.pp.ru Git - oss/vjournal.git/commitdiff
add -W interactive
authorVictor Wagner <wagner@atlas-card.ru>
Tue, 15 Oct 2013 08:41:01 +0000 (12:41 +0400)
committerVictor Wagner <wagner@atlas-card.ru>
Tue, 15 Oct 2013 08:41:01 +0000 (12:41 +0400)
activity

index 0ba311ceea29243ecec22fc5a43f888e5d3cdee8..a37a1358d86a5e24fadc2b647812c2e6b3e3fab2 100644 (file)
--- a/activity
+++ b/activity
@@ -1,5 +1,5 @@
 #!/bin/bash
-while true; do sudo netstat -tp --numeric-ports ; done |awk '/:80/&&$7!="-" {
+while true; do sudo netstat -tp --numeric-ports ; done |awk -W interactive '/:80/&&$7!="-" {
 if (!( ($4,$5) in a) ) {
 print $4,$5,$7,$8;
 a[$4,$5] = $7;