Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
@world versus world...what's the difference?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Spankin Partier
n00b
n00b


Joined: 15 Jan 2007
Posts: 28

PostPosted: Sat Oct 29, 2011 5:32 am    Post subject: @world versus world...what's the difference? Reply with quote

Ok, noob question here... what's the difference between @world and just plain world or @system and system?

I've recently started noticing the @ symbol being added to some emerge commands, when I tried reading the man pages or searching with Google (which conveniently ignores the @ symbol :roll: ) I come up empty. I this just a new addition to portage's grammar?
Back to top
View user's profile Send private message
few
Guru
Guru


Joined: 03 Mar 2008
Posts: 448

PostPosted: Sat Oct 29, 2011 5:59 am    Post subject: Reply with quote

@ indicates a package set. In portage-2.1 there are only @world and @system. In portage-2.2 there are more (emerge --list-sets). In both cases world and system are aliases for the correspnding sets, which means there is no difference. Other sets don't have such aliases.
Back to top
View user's profile Send private message
Spankin Partier
n00b
n00b


Joined: 15 Jan 2007
Posts: 28

PostPosted: Sat Oct 29, 2011 5:22 pm    Post subject: Reply with quote

So best practices now dictates that one should always use the @ symbol whenever calling a package set so one doesn't forget it when calling a non aliased set. ;)

I'll have to keep an eye out for the new package sets when my systems start to upgrade 2.2. Thanks. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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