South Africa innings:
South Africa 139 for 5 in 60 overs: AB de Villiers and Dean Elgan dug in their heels and survived the last hour. Elgar was shaky against Ajmal and was lucky on a couple of occasions. de Villiers was more confident and played the Pakistan bowlers with assurance. At stumps, de villiers and Elgar were at crease batting at 24 and 11 respectively.
South Africa 109 for 5 in 44 overs: Saeed Ajmal snaffled his seventh five-wicket haul in Tests as Faf du Plessis became his fifth victim of the innings. Ajmal was bowling round the wicket and he pitched the ball on the middle stump which was shaping away and du Plessis poked at it. Younis Khan took a fine catch at first slip.
South Africa 102 for 4 in 39 overs: Saeed Ajmal snared Jacques Kallis for 2 to leave South Africa reeling. The batsman missed the line of the ball as he tried to clip it towards short fine leg. Third lbw for Ajmal and his fourth wicket of the innings.
South Africa 84 for 3 in 32 overs: Ajmal removed Hashim Amla for 25 to snap up his third scalp. The ball was tad short and skid off the surface and trapped Amla on the pads as he tried to tuck it towards square leg. Umpire denied the appeal but Pakistan opted for DRS again and the batsman was adjudged lbw.
South Africa 50 for in 18 overs: Saeed Ajmal chalked up his second wicket as Petersen tried to clip the ball towards square leg but got an inside edge to the pads and Azhar Ali at forward short log grabbed a superb one-handed catch.
South Africa 38 for 1 in 14 overs: Ajmal nipped out Graeme Smith for 19 as the batsman tried to sweep the delivery which pitched on the middle stump and held its line. The umpire didn't rule the batsman out but Pakistan team opted for DRS and the decision was overturned.
South Africa 27 for 0 in 10 overs: Graeme Smith and Alviro Petersen negotiated the new ball with assurance and didn't let pakistan bowlers make early inroads. Smith was lucky as Younis Khan spilled his catch at second slip off Umar Gul when he was yet to open his account.
Pakistan 338 all out at lunch in 116.2 overs: Tanvir Ahmed finally got out when he smashed Robin Peterson straight to Vernon Philander at mid-off. But Tanvir, who is in the side for his pace bowling, did the job for his team, scoring a priceless 44 and sharing 70 with Saeed Ajmal for the ninth wicket. Mohammad Irfan didn't last long as he was bowled when he attempted to whip Peterson for the second time. Saeed Ajmal remained unbeaten on 21.
Tanvir Ahmed c Philander b Peterson 44 (59)
Mohammad Irfan b Peterson 6 (12)
Pakistan 329 for 8 in 113 overs: Pakistan's tail wag as Tanvir Ahmed and Saeed Ajmal stretched their partnership to 60. There were a few close shouts, but the two batsmen thwarted the South African bowling attack. Meanwhile, Morne Morkel went off the field with what seemed like an hamstring injury.
Pakistan 299 for 8 in 102 overs: Tanvir Ahmed and Saeed Ajmal batted with grit to keep the South African pacers at bay. The duo shared an unbroken 31-run stand for the ninth wicket. Tanvir, in particular, was more aggressive, pulling Morne Morkel and driving Philander.
Pakistan 268 for 8 in 96 overs: Pakistan batsmen are going down like ninepins, three wickets down in half-an-hour's play. Now Umar Gul has been trapped lbw for a duck. Another five wickets for Vernon Philander, who once again impressed with his impeccable line. South Africa would have planned to wrap up Pakistan's innings under 300 and they were well on course to do that.
Umar Gul lbw b Philander 0 (9)
Pakistan 266 for 7 in 94 overs: Vernon Philander was at his best and so was Alviro Petersen. While Philander got the reward for pitching the ball full, Petersen took a brilliant one-handed catch in the slips to dismiss Pakistan wicketkeeper batsman Sarfraz Ahmed (13). Philander is just one shy of another five-wicket haul.
Sarfraz Ahmed c Petersen b Philander 13 (17)
Pakistan 259 for 6 in 92 overs: It took just one ball for Asad Shafiq, who was unbeaten on 111 at the start of play, to edge Vernon Philander to Graeme Smith at first slip. Philander was on the mark, pitching the new-ball - which is just 11 overs old - up to Shafiq.
Asad Shafiq c Smith b Philander 111 (230)
Day 1 summary: After recovering from 33 for 4 to 253 for 5 at stumps on day one, Pakistan will look to add more runs as day two begins at Newlands.
Earlier, Younis Khan and Asad Shafiq proved that Pakistan have learned some lessons from their heavy defeat to South Africa in the first Test, as their 219-run partnership allowed them to reach a resectable score at the end of day one.
Younis and Shafiq showed that survival was perfectly possible on a benign surface - particularly once the ball lost its shine - as they batted for nearly six hours. Younis was caught behind off the bowling of Vernon Philander for 111 shortly before stumps, but Shafiq was unbeaten on 111 at the close of play.