import java.io.*;
import exc.util.*;

public class test_7 {
  public static void main(String args[]){
    String infile = null;
    String outfile = null;

    if(args.length >= 1) infile = args[0];
    if(args.length >= 2) outfile = args[1];

    System.out.println("infile="+infile+",outfile="+outfile);

    char buf[] = new char[100];
    Reader fin = null;
	
    try {
      fin = new FileReader(infile);
    } catch(FileNotFoundException e){
      System.err.println("FileNotFoundException:"+e);
      System.exit(1);
    }
	
    try {
      while(fin.read(buf) > 0){
	System.out.println(">>"+String.valueOf(buf));
      }
      fin.close();
    } catch(IOException e){
      System.err.println("IOException:"+e);
      System.exit(1);
    }
  }
}









