From d91f926f464cb9b1e34d61f810c9187170b9fcfd Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Wed, 6 Mar 2019 08:55:50 -0500 Subject: [PATCH] Fix field separator --- x2/src/bash/exe/khatus_sensor_net_carrier.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x2/src/bash/exe/khatus_sensor_net_carrier.sh b/x2/src/bash/exe/khatus_sensor_net_carrier.sh index 610a53d..38597d0 100644 --- a/x2/src/bash/exe/khatus_sensor_net_carrier.sh +++ b/x2/src/bash/exe/khatus_sensor_net_carrier.sh @@ -2,5 +2,5 @@ for interface in $(ls /sys/class/net) do - printf "%s %d\n" $interface $(cat /sys/class/net/$interface/carrier) + printf "%s|%d\n" $interface $(cat /sys/class/net/$interface/carrier) done -- 2.20.1