“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 file
/// <summary> /// 删除后定位到某一行 /// </summary> /// <param name="aCode"></param> /// <returns></returns> public int LocateRow(string aCode) { var list = bindingSource1.DataSource as List<GetNewDateDTO>; var i