Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
356 B

  1. #!/bin/sh
  2. # myrepos - get stats
  3. # I'm doing the silly output-to-tempfile thing to get around a bug where mr
  4. # hangs if there's stuff in a stash - I think because something is invoking
  5. # a pager. At some point I should find out if this is a solvable problem.
  6. output_file=$(mktemp)
  7. mr --minimal stat > "$output_file"
  8. cat "$output_file"
  9. rm "$output_file"