• Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling awk script from java programs  RSS feed

 
Abhi Naike
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to parse a text file having huge columns of data with a java program. I wanted to know how to call awk scripts that i have made from java program.

Abhijeet
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Intermediate FAQ has a link to an article on how to call external processes from Java.

There's also a Java package that provides (amongst other things) AWK-like functionality: Jakarta ORO.
 
Abhi Naike
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
The Java Intermediate FAQ has a link to an article on how to call external processes from Java.

There's also a Java package that provides (amongst other things) AWK-like functionality: Jakarta ORO.
 
Abhi Naike
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
The Java Intermediate FAQ has a link to an article on how to call external processes from Java.

There's also a Java package that provides (amongst other things) AWK-like functionality: Jakarta ORO.


Thanks for the links. I was able to run the awk scripts from my java programs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!