I previously used an answer from another post that shows how to get a list of the linker paths on a system, ldconfig -v 2>/dev/null | grep -v ^$'\t'
.
What I don't get is how the regex makes sense. The ^$
should match empty lines, so how does the trailing '\t'
even get checked?