On Wed, 2003-10-29 at 10:12, Michael Dominok wrote: > dpkg -l |grep --extended-regexp --regexp='^[uirph]c|^[uirph]i'|awk {' > print $2 "=" $3'} >/tmp/p_list I have to correct myself. Just noticed that packages with long names could get chopped this way. A better way of getting a p_list:
cat /var/lib/dpkg/available |grep --extended-regexp '^Package' |awk {'print $2'} >/tmp/p_only cat /var/lib/dpkg/available |grep --extended-regexp '^Version' |awk {'print $2'} >/tmp/v_only paste -d'=' /tmp/p_only /tmp/v_only >/tmp/p_list Michael -- If you don't care where you are you ain't lost! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]