if (argv.length == 0) {
if (argv.length < 1) {
	public static void main(String argv[]) {		if (argv.length == 0) {		    System.err.println("Usage: Grep pattern [filename]");		    System.exit(1);		}		Grep1 pg = new Grep1(argv[0]);		if (argv.length == 1)			pg.process(new InputStreamReader(System.in), "(standard input", false);		else			for (int i=1; i<argv.length; i++) {				try {					pg.process(new FileReader(argv[i]), 						argv[i], true);				} catch(Exception e) {					System.err.println(e);				}			}	}