in reply to One liner to compare to lists and print the ID's in common
Not sure what the obsession is with "one-liners", but perhaps you might like to browse through Special Variables, Command-Line Options, and One-Liners.
HTH,