On Sun, 16 Oct 2005 13:12:12 +0300, Simo Kauppi wrote:

>> Is there any way to list all the packages and their section names?
> 
> How about aptitude --display-format "%p %s" search ~n.*

Thanks. 

Now, how to redirect the output, with package description, to a file? ie.

aptitude --display-format "%p %s %70d" search ~n.*
[...]
cursel                                                    misc       simple 
language to provide text application interfaces                                 
          
curves                                                    devel      colorful 
console interface for CVS version control                                       
        
cutils                                                    devel      C source 
code utilities                                                                  
        
cutter                                                    net        disconnect 
routed IP connections                                                           
      
cuyo                                                      games      
Tetris-like game with very impressive effects                                   
                 
cvm                                                       admin      Credential 
Validation Modules                                                              
      
cvm-dev                                                   libdevel   Credential 
Validation Modules (development files, documentation)                           
      
cvm-mysql                                                 admin      Credential 
Validation Modules (mysql)                                                      
      
[...]

Of all the following that I tried, none of them worked as displayed.

aptitude --display-format "%p %s %70d" search ~n.* > file
COLUMNS=120 aptitude --display-format "%p %s %70d" search ~n.* > file

please help. thanks


tong



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

Reply via email to