regex doesn't play well with logical AND like that.
With (more) reduced data at each step, what's the issue with your current solution ?. Piping like that is normal in *nix. If you are really concerned about re-running the data, try and ensure the most restrictive parameter is passed to locate.
|