摘要:
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, 阅读全文