yestreenstars 發(fā)表于 2014-05-21 11:49 $ sed -r '/</{s/< //;h};/>/{s/> //;G;s/(.*)\n(.*)/\2.\1/p};d' i