I wanted to know the bitness of a certain software (omc), so I ran first
which omc
file /usr/bin/omc
and that gave me all information I needed.
Before telling my colleagues, I wanted to shorten it to a single line:
which omc | file
but that did not work. But why not?