From: Siraaj Khandkar Date: Wed, 6 Mar 2019 13:55:50 +0000 (-0500) Subject: Fix field separator X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=d91f926f464cb9b1e34d61f810c9187170b9fcfd;p=khatus.git Fix field separator --- 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