Архивы |

awk

cat shoplog.txt | grep mail@mail.ru | grep "carte/add" | awk '{split( $13, M, ";"); split( M[3], MATNR, ":"); split( M[4], MATNR1, ":"); split( M[5], PIN, ":"); split( M[6], PIN1, ":"); print " | " $2 " " $3 " | " MATNR[3] ":" MATNR1[3] " | " PIN[3] ":" PIN1[3] } '

линный пост про awk напишу потом)

Далее...