diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-06 13:59:26 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-06 13:59:26 +1300 |
commit | 13d4998ee636abbb5bf1b20acd5b19ecd8af0578 (patch) | |
tree | 91c7be8c6a76d8653fdae8feec0357cb0d2d89ed /bin/pph | |
parent | Add jfp(1df) (diff) | |
download | dotfiles-13d4998ee636abbb5bf1b20acd5b19ecd8af0578.tar.gz dotfiles-13d4998ee636abbb5bf1b20acd5b19ecd8af0578.zip |
Add pp(1df) and pph(1df)
Diffstat (limited to 'bin/pph')
-rwxr-xr-x | bin/pph | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/pph b/bin/pph new file mode 100755 index 00000000..684aaafd --- /dev/null +++ b/bin/pph @@ -0,0 +1,5 @@ +#!/bin/sh +# Run pp(1df) on args, prefix with machine hostname +hostname=$(hostname -s) || exit +pp "$@" | +sed 's_^_'"$hostname":'_' |