2008/1/9, Paul Csanyi <[EMAIL PROTECTED]>:
> > So, if you only need package name:
> >
> >  aptitude search ~i | cut -d" " -f3
>
> It is cut, not awk.
> Howewer, it is not god. The output file contains empty lines
> besides of the package names.

No blank lines  :   aptitude search ~i | cut -d" " -f3 | sed '/^$/d'

done

yes, no awk


-- 
"Meine Hoffnung soll mich leiten
Durch die Tage ohne Dich
Und die Liebe soll mich tragen
Wenn der Schmerz die Hoffnung bricht"


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

Reply via email to