Also watch the way the memory command table is being accessed on both sides in Listing 5.
还要注意清单5中从两边访问内存命令表的方法。
The shell script shown in Listing 1, simplewatch.sh, provides much of the same functionality as the watch command.
这个shell脚本名为simplewatch . sh(见清单1),它提供与watch命令相同的功能。
Watch how Groovy elegantly lets me focus on the task at hand — performing a simple query — and handles the underlying resource handling for me in Listing 4.
请看清单4中,Groovy替我处理底层资源,从而非常漂亮地让我把注意力集中在手边的任务——执行一个简单的查询。
应用推荐