Annual report pursuant to Section 13 and 15(d)

Debt - Additional Information (Detail)

v3.19.3
Debt - Additional Information (Detail)
$ in Thousands
6 Months Ended 12 Months Ended
Feb. 28, 2019
USD ($)
Aug. 31, 2019
USD ($)
covenant
Aug. 31, 2018
USD ($)
Aug. 31, 2017
USD ($)
Apr. 16, 2012
USD ($)
Debt Instrument [Line Items]          
Long-term Debt   $ 462,559 $ 535,059    
Long-term Debt, Current Maturities   (7,500) (30,000)    
Long-term debt, net   452,945 502,695    
Maximum borrowing capacity   600,000      
Senior credit facility expansion option, available   300,000      
Repayments of Senior Debt   0 0 $ 500  
Cash interest payments   26,300 28,800 $ 27,100  
Senior Credit Facility - Revolver | Senior Credit Facility          
Debt Instrument [Line Items]          
Long-term Debt   0 0    
Senior Credit Facility - Term Loan | Senior Credit Facility          
Debt Instrument [Line Items]          
Long-term Debt   175,000 247,500    
5.625% Senior Notes | Senior Notes          
Debt Instrument [Line Items]          
5.625% Senior Notes Carrying Value   $ 287,559 $ 287,559    
Face amount         $ 300,000
Debt instrument, interest rate   5.625%   5.625% 5.625%
Debt Instrument, Maturity Date   Jun. 15, 2022      
Minimum | 5.625% Senior Notes | Senior Notes          
Debt Instrument [Line Items]          
Debt Redemption Price As Percentage Of Principal         100.00%
Maximum | 5.625% Senior Notes | Senior Notes          
Debt Instrument [Line Items]          
Debt Redemption Price As Percentage Of Principal         100.90%
Senior Credit Facility          
Debt Instrument [Line Items]          
Senior credit facility expansion option, available $ 450,000        
Number of financial covenants | covenant   2      
Senior Credit Facility | Minimum          
Debt Instrument [Line Items]          
Fixed charge coverage ratio   3.5      
New Fixed Charge Coverage Ratio   3.0      
Senior Credit Facility | Maximum          
Debt Instrument [Line Items]          
Leverage ratio   3.75      
New Leverage Ratio   4.25      
Senior Credit Facility | LIBOR          
Debt Instrument [Line Items]          
Debt instrument actual interest rate   3.50%      
Senior Credit Facility | LIBOR | Minimum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate 1.00% 1.125%      
Senior Credit Facility | LIBOR | Maximum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate 2.25% 2.00%      
Senior Credit Facility | Base Rate | Minimum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate 0.00% 1.00%      
Senior Credit Facility | Base Rate | Maximum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate 1.25% 1.25%      
Senior Credit Facility - Term Loan          
Debt Instrument [Line Items]          
Maximum borrowing capacity $ 300,000 $ 200,000      
Debit Instrument, Prepayment, Principal   23,800      
Senior Credit Facility - Term Loan | Starting on August 30, 2019          
Debt Instrument [Line Items]          
Quarterly installments, payable on term loan   1,250      
Senior Credit Facility - Term Loan | Starting on May 31, 2022          
Debt Instrument [Line Items]          
Quarterly installments, payable on term loan   5,000      
Senior Credit Facility - Revolver          
Debt Instrument [Line Items]          
Maximum borrowing capacity $ 300,000 400,000      
Unused credit line   398,800      
Unused Borrowing Capacity Available for Borrowing   $ 287,600      
Senior Credit Facility - Revolver | Minimum          
Debt Instrument [Line Items]          
Percentage of non-use fee, annually 0.15% 0.15%      
Senior Credit Facility - Revolver | Maximum          
Debt Instrument [Line Items]          
Percentage of non-use fee, annually 0.35% 0.30%