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

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