On Wed, 14 Feb 2024, Rich Shepard wrote:

Would the substr() function do the job? E.g,, substr(Active,1,6)

Apparently not:
BEGIN { FS = OFS = "," }
  NR ~ /1/ { print $0 }
  $4 == substr(Active,1,6) { print $0 }

still has Inactive in the output.

Sigh,

Rich

Reply via email to