sed -i 's/\//-/g' foo.txt  && for date in `cat foo.txt` ; do mysql -e
"select str_to_date('$date', '%m-%d-%Y') \G" |  awk ' { print $3 } '
>> newfoo.txt  ;   done; && sed -i  '/row/d' newfoo.txt && sed  -i
's/-/\//g' newfoo.txt

--~--~---------~--~----~------------~-------~--~----~
### Jordan Linux Users Group ###
http://Jolug.org/
http://groups.google.com/group/Jolug

### Ubuntu Jordan LoCo Team ###
https://wiki.ubuntu.com/JordanTeam
http://lists.ubuntu.com/ubuntu-jo

### Ojuba Linux ### 
http://ojuba.org/

### Jordan PHP ###
http://groups.google.com/group/JoPHP
-~----------~----~----~----~------~----~------~--~---

رد على