Skip to content

Instantly share code, notes, and snippets.

@mylons
Created August 28, 2012 23:10
Show Gist options
  • Save mylons/3505162 to your computer and use it in GitHub Desktop.
Save mylons/3505162 to your computer and use it in GitHub Desktop.
try {
BufferedReader in = new BufferedReader(new FileReader(pwd + "Makefile"));
String str;
while((str = in.readLine()) != null)
System.out.println(str);
in.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
}
catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment