#!/bin/sh sinmenu -e 'input->changed(from,to) { if (from!=to) { print to } }' "$@"