note that current master/0.9 avoids use of -i (N/A on solaris)