I need to understand the following line of code:
BIN_DIR=`grep BIN_DIR= $SMLCM | head -1`
where $SMLCH
contains a path
This is what I understood so far:
grep
will produce some string(s), possible paths. What does grep do withBIN_DIR=
?the pathes are passed to head and all files within the paths will be used to extract their first line
something is evaluated (what exactly?) and stored in
BIN_DIR
Best regards,
Simon