Note: In this example, you need to use the chuser command for each user who has security as his primary group.
注意:在本例中,需要对每个将security作为其主组的用户使用chuser命令。
Note that the extension is easy to understand and modify, and that it can do the job just as well as the previous, non-parsing example (see the Event loop with command-line switches).
请注意,很容易理解和修改这个扩展,而且该扩展可以与前面的非解析示例一样出色地完成工作(请参阅带命令行开关的事件循环)。
Also, note here that this example USES pure Ruby and doesn't depend on any command-line utility being present on the machine.
而且要注意,这个例子使用纯ruby,它不依赖于计算机上当前提供的任何命令行实用程序。
应用推荐