Fix field separator
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 6 Mar 2019 13:55:50 +0000 (08:55 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 6 Mar 2019 13:55:50 +0000 (08:55 -0500)
x2/src/bash/exe/khatus_sensor_net_carrier.sh

index 610a53d..38597d0 100644 (file)
@@ -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
This page took 0.023584 seconds and 4 git commands to generate.