Line-buffer upower output
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 16 Aug 2018 16:56:34 +0000 (12:56 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 16 Aug 2018 16:56:34 +0000 (12:56 -0400)
bin/khatus_sensor_energy

index 068ab81..53472c8 100755 (executable)
@@ -4,5 +4,5 @@ set -e
 
 dir_bin="$1"
 
-upower --dump           | stdbuf -o L "$dir_bin"/khatus_parse_upower
-upower --monitor-detail | stdbuf -o L "$dir_bin"/khatus_parse_upower
+stdbuf -o L upower --dump           | stdbuf -o L "$dir_bin"/khatus_parse_upower
+stdbuf -o L upower --monitor-detail | stdbuf -o L "$dir_bin"/khatus_parse_upower
This page took 0.026015 seconds and 4 git commands to generate.