Improve detection of stdin input and add example, add 'common' format constant, add available variables for filters to doc