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