citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

hsp (164B)


      1 #!/bin/sh
      2 
      3 [ -z "$1" ] && \
      4   printf "usage: cmd | %s txt\n" "$(basename "$0")" 1>&2 && \
      5   exit 1
      6 
      7 TMP="$(mktemp).$1"
      8 cat > "$TMP"
      9 
     10 hashshare "$TMP"
     11 
     12 rm -f "$TMP"