Hello, > Would dpkg --get-selections >> foo > dpkg --set-selections << foo > > not do this? Single '>' and '<', please. Sorry to nitpick, but a beginning user would probably be quite confused by the prompt for the here-document. Jiri <jiri@baum.com.au>