0

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?

Tinker
  • 11
  • 2

1 Answers1

0

Your first assumption is off:

In short, the regex evaluates to "exclude lines that begin with hard-tabs".

Cloud
  • 18,753
  • 15
  • 79
  • 153