recording keystrokes in vi
What is the syntax for recording command in vi. If I want to repeat a command over and over.
My file is
12/01/05,,adsmte,9,0,0
12/02/05,,adsmte,12,0,0
12/03/05,,adsmte,10,0,0
12/04/05,,adsmte,11,0,0
12/05/05,,adsmte,10,0,0
12/06/05,,adsmte,10,0,0
12/01/05,,tsmpc1,57,1,2
12/02/05,,tsmpc1,83,4,2
12/03/05,,tsmpc1,89,6,2
12/04/05,,tsmpc1,31,1,0
12/05/05,,tsmpc1,35,1,0
12/06/05,,tsmpc1,52,5,2
12/01/05,,tsmpc2,86,2,2
12/02/05,,tsmpc2,94,5,1
and I want to insert Thu,Fri,Sat,Sun in between ,, without having to type that one at a time on each line.
I this is something I have done before but can't recall how.