Next:
前言
Up:
Scripts大集合
Previous:
Scripts大集合
Contents
Contents
前言
中階Bourne shell
簡介
shell是甚麼
執行shell script與subshell
變數函數與模組化寫作
變數使用
引號quote
中括號的變數取代
環境變數
一些內定變數
函數與多檔模組化
模組化程式
重要外部與內建命令
內建命令
外部命令
簡單數學
File descriptor與I/O導向
流程控制與測試條件
測試條件
if 條件判斷
for loop
while loop
case switch
Portable Shell與remote shell
結語
Regular Express
簡介-RE與glob
字元處理
基本字元表示
字元處理 - 括號與範圍表示
字串處理 - 不同括號表示
範圍定址(address)
greedy的regular express
sed
簡介
符合條件的addressing
pattern/hold space, 多regex條件與script檔
sed command命令
基本指令
pattern/hold space的處理
再進一步
awk
簡介
script基礎
變數與欄位處理
內定變數
awk變數與shell變數
陣列Array與split函數
基本控制語法
數學與邏輯算符
if
for loop
while
function
其他函數
字串處理-match與代換
輸入輸出處理print(f)
亂數rand()
系統system()
perl
基本語法與資料型態
變數
條件控制
更power的regular expression
常用函數
系統處理
process
檔案
system call
module
Bourne shell, perl與C語法比較
變數
陣列與Hash
條件敘述
條件比較
迴圈控制
while迴圈
for loop
副程式
註解
Bibliography
About this document ...
Cyril Huang 2002-06-14