rupd: works with pure POSIX shells