On Fri, Mar 14, 2008 at 19:45:06 +0200, Andrei Popescu wrote:

[...]

> I just 
> have to write a sed script to make the output of 'aptitude search !~M~i' 
> suitable for 'dpkg --set-selections'

This might work directly:

aptitude -F '%pinstall' search '!~M~i'

Some cleanup could be nice, though:

aptitude -F '%pinstall' search '!~M~i' | sed 's/ \+/ /'

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to