Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
equery s und pipes
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1670

PostPosted: Sun Oct 02, 2011 7:51 pm    Post subject: equery s und pipes Reply with quote

hallo, ich wollte mir mithilfe "equery s" mal die installierten pakete auf meinen rechner anzeigen lassen. kein problem.
dann wollt ich sie nach größe sortieren lassen:
erstens:
wenn ich die ausgabe von equery s pipe, dann sieht die ganz anders aus.
normal ist der dreizeiler:
* app-admin/system-config-printer-common-1.3.6
Total files : 44
Total size : 581.29 KiB
wenn ich es pipe wird das zu:
app-admin/system-config-printer-common-1.3.6: total(44), inaccessible(0), size(595241)

nun denn erstmal: wie geht denn das? (so rein aus neugierde. der einzeiler lässt sich ja in pipes durchaus besser weiterverarbeiten, als der dreizeiler)

und zweitens, wie geht das mit sort? ich hab jetzt
Code:
sort -t "(" -k 4
gemacht, aber da sortiert er nach der ersten ziffer und nicht nach der zahl...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum