diff options
Diffstat (limited to 'bin/pph.sh')
-rw-r--r-- | bin/pph.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ # Run pp(1df) on args, prefix with machine hostname hn=$(hostname -s) || exit -pp "$@" | -awk -v hn="$hn" '{ print hn ":" $0 }' +pp "$@" | while IFS= read -r path ; do + printf '%s:%s\n' "$hn" "$path" +done |