public static Command createAppendTextIfAbsentToFileCommand(Path pathToFile,String textToAppend,String checkIfTextPresentRegex){
  return createCommand(getAppendTextToFileCommand(pathToFile,textToAppend,checkIfTextPresentRegex,true));
}

public static Command createAppendTextIfAbsentToFileCommand ( Path pathToFile , String textToAppend , String checkIfTextPresentRegex ) { return createCommand ( getAppendTextToFileCommand ( pathToFile , textToAppend , checkIfTextPresentRegex , true ) ) ; }
append text to file , if ' grep [ checkiftextpresentregex ] ' command doesn ' t find any occurrences .
