在清单4所示的示例中,可以看到用简单的grep命令在这个文件中寻找主机testhost会返回成功的匹配。
If you look at the example in Listing 4, you can see a simple grep of the host testhost from this file returning a successful match.
您将寻找需要复制的文件,在目标文件系统中创建任何必要的子目录,以便复制后的层次结构能够匹配。
You will look for files that need to be copied and create any child subdirectories necessary in the target so the hierarchies will match after the copy.
再一次,使用Prototype detect数组方法在后缀中寻找与文件名的第一个匹配。
Again, you use the Prototype detect array method to find the first match to the file name among those suffixes.
应用推荐