mcap (bash script)