When we were using older BW type TV transmitters to transmit PAL colour TV signals, we used a sin ^2 pulse & bar to check for such problems, (within a limited bandwidth, this was much more useful than a squarewave).
We had a magic device called a transversal equaliser, which was used to shift the overshoots & undershoots around to fit the specification.
It was a very complex adjustable filter network, & was a pig to adjust.
In the lab where 'pulse and bar' was invented we called those equalisers 'fairy fingers boxes'.
In the wonderful world of vestigial sideband transmission & reception, they were worth their weight in gold, back in the days of Marconi & AWA high level modulated beasts, as were the other, equally messy tweakers for "Differential Phase & Gain".
Along came the next generation, which were, in the main, NEC low level modulated Tx, & all those wonderful devices were retired.
The NECs were that good that you could receive them, chuck 'em together, install them test them & the results would be "near as dammit" to what NEC got at the factory on their pre-delivery tests.
The LGT ones, were, let's say, not so good, but still had all the tweaks built in.