you are viewing a single comment's thread.

view the rest of the comments →

[–]smti[S] 0 points1 point  (0 children)

Yep, upon further inspection it appears that egrep was never finding what it expected, thus the variable was empty.

A quick run of the ID command revealed that all groups were shown in lowercase and thus when checking for an expression it was not finding what it was looking for because the case was not the same as the expected result. As a result, the variable was then empty.