2011-04-28 73 views

回答

2

什么像

cat logfile | cut -d '@' -f 1 | cut -d '\' -f 2 

(假设你是一个类Unix系统上,并且还假定“@”和“\”不会比你把它们弹出别处在你的例子中。)