Comment by Noumenon72

2 years ago

Is that actually a grep? Which variable is the string you're grepping?

No, in this context, "grep" is more of a threat than anything.

This snippet just sets a few variables before returning "R" if the function was called in a functional context, or quitting with no value if the caller doesn't expect a value.

Since "K" is a non-truthy, but non-null value, "l1" is never added to S in the T label. "l1" is another non-null-but-false value, so S wouldn't have changed value anyway. The entire thing is just an ugly looking no-op.