Function to extract information from info.txt
Usage
get_info(file, grep_expression, sep, pattern = "", replacement = "")
Arguments
- file
path to info.txt (including info.txt)
- grep_expression
String before the information that should be extracted
- sep
Separator between grep_expression and information
- pattern
Optional pattern to be replaced (default pattern = "")
- replacement
Optional replacement (default replacement = "")
Author
Jan Philipp Dietrich, David Klein