返回列表 发帖
  1. 发个sed的
  2. #!/bin/bash
  3. # Fri Jun 22 15:43:42 CST 2012
  4. # Sun Jul  1 19:52:32 CST 2012
  5. # The code is listed as follows
  6. echo >uu.txt
  7. sed 's/^\s*\(.*[a-z]\)\s*$/\1/g' temp > uu.txt
  8. exit
复制代码

TOP

返回列表