how do I filter output for just stderr messages?

Published: Wednesday, Dec 26, 2007 Last modified: Thursday, Nov 14, 2024

frodo$ sh setup.sh ~/we > /dev/null

PIK003: /home/hendry/we/dcp_9593.jpg has an error in the EXIF.

PIK003: /home/hendry/we/dcp_9600.jpg has an error in the EXIF.

PIK003: /home/hendry/we/dcp_9621.jpg has an error in the EXIF.

PIK003: /home/hendry/we/dcp_9626.jpg has an error in the EXIF.