急!!! 请教unix shell问题, Thx a lot!

来源: 2007-12-04 15:56:02 [旧帖] [给我悄悄话] 本文已被阅读:

How to find every line in a xml file that contains a date or time?
Using grep? How to write the command?

How to convert date format from YYYY-MM-DD to MM/DD/YYYY?
Using grep or sed? How to write the command?

I am not familiar with these two commands. Plz help! Many thanks!