今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Scripting with AWK
- As you've seen, AWK is extremely useful for quick interactive development of small command line programs to massage text data into different formats. But if you find yourself performing the same task repeatedly you can save it into a file for later use. For example, suppose you receive the information for the contact page of your bowling league in the form of a file like this. Suppose you want to produce an HTML file with a bulleted list of the officer's titles, names, and clickable email addresses. You could use the techniques described in this course to extract this information without too much difficulty. But if you know you're going to get an update for this page once a quarter, it would be a good idea to store the code in a file so you don't have to recreate it every time. We call this file a "shell script". The information in this movie applies only to Unix systems, including Mac OSX. If you're on a window…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。