#!/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"