Regenworld

The script, which is distributed with Portage, regenerates the Portage world file by checking the Portage log file for all actions performed in the past. It ignores any arguments except the  option.