sed /:$name:/d classdb.txt > tmpfile && mv $tmpfile classdb.txt
回複:順便問一句,怎麽刪除一個用戶呢?如果隻是給了用戶名?
所有跟帖:
•
correction: $tmpfile->tmpfile
-kv2388-
♂
(0 bytes)
()
11/07/2004 postreply
21:21:12
•
gao shou thanks a lot
-!@#$%-
♀
(0 bytes)
()
11/08/2004 postreply
15:47:48