Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sapere da quanti ebuild é supportata una use flag
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Fri Jan 14, 2005 8:56 pm    Post subject: Sapere da quanti ebuild é supportata una use flag Reply with quote

Esempio pratico:
Code:
cat /usr/portage/*/*/*.ebuild | grep USE | grep icc | wc -l

ma:
Code:
bash: /usr/bin/cat: Argument list too long


Ho quindi pensato di usare il mio amico for in un simpatico bash script... ma il risusltato tendeva al disastroso. Come posso fare per sapere quanti ebuild hanno una data use?

Il mio esempio sopra poi é anche molto alla buona, perché include le varie versioni dei uno stesso programma.

(scommetto che anche per questo c'é già qualcosa... mi succede ogni volta...)
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Fri Jan 14, 2005 10:00 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?p=1402407#1402407

esiste gia' un tool :)
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Fri Jan 14, 2005 10:32 pm    Post subject: Reply with quote

xchris wrote:
https://forums.gentoo.org/viewtopic.php?p=1402407#1402407

esiste gia' un tool :)

:x :x :lol:

Ma verrà un giorno dove mi verrà un idea non ancora scriptata!! Parola di Dhaki 8)

Grazie xchris :wink:
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sat Jan 15, 2005 10:14 am    Post subject: Reply with quote

Dhaki wrote:
Ma verrà un giorno dove mi verrà un idea non ancora scriptata!! Parola di Dhaki 8)

Grazie xchris :wink:



comprendo benissimo.
Ho fatto nel passato dei bei tool inutili.
Ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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