最后,您将创建一个命令行应用程序,它生成一些关于该数据的有用报告,这些报告根据人口从多到少的顺序显示州、地区或国家列表。
Finally, you will create a command-line application that produces some useful reports on this data, showing a list of states, regions, or countries in the order of highest to lowest population.
一般而言,最好在脚本内部设置字段分隔符,因为这样可以少输入一个命令行参数。
It's generally best to set the field separator inside the script itself, simply because it means you have one less command line argument to remember to type.
使用 Grails stats 命令,您很快就会发现实际编写的代码非常少。
You can quickly find out just how little code you have actually written using the Grails stats command.
应用推荐