摘要: 1、正则表达式基础Begining of line (^)$ sed -n '/^103/ p' employee.txt 103,Raj Reddy,Sysadmin End of line ($)$ sed -n '/r$/ p' employee.txt 102,Jason Smith,IT Manager 104,Anand Ram,Developer 105,Jane Miller,Sales Managersingle Character (.)$ sed -n 's/J... /Jason /p' employee.txt 101, 阅读全文
posted @ 2013-03-28 15:24 风*依旧 阅读(312) 评论(0) 推荐(0) 编辑