• Post Reply Bookmark Topic Watch Topic
  • New Topic

ProcessBuilder and Aspotrophe '  RSS feed

 
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using ProcessBuilder to build a grep command whose argument contain aspotrophe does not work. It works as soon as I remove the aspotrophe. Any Idea? The reason that I need to use aspotrophe is that I need to specify regular expression in the arguments



[ January 18, 2008: Message edited by: Jim Yingst ]
 
vu lee
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
figured it out. Don't need aspotrophe.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!