This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / 请教高手,which unix command that i can remove lines with *.gif in a file.多谢.
-jsfli06(书法爱好者);
2006-10-2
(#3240991@0)
-
cat a.file | sed -e "/\.gif/d" > a.file
-sammy(143 days);
2006-10-2
(#3241113@0)
-
Or: grep -v "\.gif" a.file > b.file
-sammy(143 days);
2006-10-2
(#3241134@0)
-
thanks a lot. by the way, what about the corespondent command in DOS system? Many thanks again.
-jsfli06(书法爱好者);
2006-10-2
(#3241260@0)
-
I don't know. You're welcome.
-sammy(143 days);
2006-10-2
(#3241574@0)
-
check the link, there should other package like "utilty for dos..." ...
-647i(流浪的步行万里);
2006-10-2
(#3241607@0)
-
cool, thanks, and still want 书法?
-jsfli06(书法爱好者);
2006-10-3
(#3242520@0)
-
no now, thank, U might notice that the double quote and single quote difference between dos and unix on those tools(sed, awk)
-647i(流浪的步行万里);
2006-10-3
(#3243457@0)
-
i will and thanx alot again
-jsfli06(书法爱好者);
2006-10-4
(#3245505@0)