首页 | 本学科首页   官方微博 | 高级检索  
     

浅谈自底向上的Shell脚本编程及效率优化
引用本文:江松波,倪子伟. 浅谈自底向上的Shell脚本编程及效率优化[J]. 计算机与现代化, 2011, 0(2): 73-76,80. DOI: 10.3969/j.issn.1006-2475.2011.02.020
作者姓名:江松波  倪子伟
作者单位:厦门大学计算机科学系,福建,厦门,361005
摘    要:低效的Shell脚本设计会进一步影响原本解释器模式下并不见长的程序运行效率,使其在面对大数据量文本分析时的资源和时间消:耗变得难以接受.本文通过分析Shell语言及其应用需求的特点,从分层设计的角度提出自底向上进行Shen脚本编程的理论,同时提出从外部系统环境到内部执行模式全面地掌握工具软件的方法.实例充分...

关 键 词:脚本  正则  管道

A Brief Talk about Bottom-up Shell Script Programming and Efficiency Optimization
JIANG Song-bo,NI Zi-wei. A Brief Talk about Bottom-up Shell Script Programming and Efficiency Optimization[J]. Computer and Modernization, 2011, 0(2): 73-76,80. DOI: 10.3969/j.issn.1006-2475.2011.02.020
Authors:JIANG Song-bo  NI Zi-wei
Affiliation:(Department of Computer Science,Xiamen University,Xiamen 361005,China)
Abstract:Shell scripts run in the interpreter mode,which has always been inefficient.Inefficient design will further affect the efficiency performance of the Shell script.This paper analyzes the characteristics of Shell language and its applications and proposes a "bottom up to Shell scripting" idea based on the perspective of hierarchical design.At the same time,this paper puts forward a comprehensive method,that is from the "external system environment" to "internal execution model",to mastering Shell utilities.The case fully proves that the idea and methods about bottom-up Shell scripting can effectively improve the efficiency of the script.
Keywords:script  regular  pipeline
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号