发布时间:2014-06-19 14:59:25
“p” command prints the buffer (remember to use -n option with “p”)“d” command is just opposite, its for deletion. ‘d’ will delete the pattern space buffer and immediately starts the next cycle.Syntax:# sed 'ADDRESS'd filename# sed /PATTERN/d filenameLet us first creates thegeeks.........【阅读全文】