Selection based on the references

With the options -eq, -ne it it possible to extract the measurements from a specific