Annual report pursuant to Section 13 and 15(d)

Acquisitions - Additional Information (Detail)

v3.10.0.1
Acquisitions - Additional Information (Detail)
$ in Thousands
3 Months Ended 12 Months Ended
May 11, 2018
USD ($)
Dec. 02, 2017
USD ($)
Mar. 31, 2016
USD ($)
Feb. 18, 2016
USD ($)
Aug. 31, 2016
acquisition
Aug. 31, 2018
USD ($)
acquisition
Aug. 31, 2017
USD ($)
Aug. 31, 2016
USD ($)
acquisition
Dec. 01, 2017
USD ($)
Mar. 30, 2016
USD ($)
Feb. 17, 2016
USD ($)
Business Acquisition [Line Items]                      
Cash paid for business acquisitions, net of cash acquired           $ 23,218 $ 0 $ 81,916      
Recognition of Goodwill due to Business acquired           $ 12,441          
Number of businesses acquired | acquisition         0 2   2      
Goodwill, Purchase Accounting Adjustments             (1,085)        
Net sales           $ 1,182,611 1,095,784 $ 1,149,410      
Mirage Machines [Domain]                      
Business Acquisition [Line Items]                      
Business Acquisition, Date of Acquisition Agreement   Dec. 01, 2017                  
Mirage Machines [Member] [Member]                      
Business Acquisition [Line Items]                      
Cash paid for business acquisitions, net of cash acquired   $ 17,400                  
Recognition of Goodwill due to Business acquired   $ 9,900                  
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill                 $ 4,100    
Equalizer [Member]                      
Business Acquisition [Line Items]                      
Business Acquisition, Date of Acquisition Agreement May 11, 2018                    
Cash paid for business acquisitions, net of cash acquired $ 5,800                    
Recognition of Goodwill due to Business acquired 2,600                    
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill 1,900                    
FY18 Acquisitions (Mirage Machines and Equalizer) [Domain]                      
Business Acquisition [Line Items]                      
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables           2,324          
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill           6,049          
Acquisition Costs, Period Cost           1,100 700        
Business Acquisition, Net Revenue           8,200          
Larzep                      
Business Acquisition [Line Items]                      
Business Acquisition, Date of Acquisition Agreement       Feb. 17, 2016              
Cash paid for business acquisitions, net of cash acquired       $ 15,900              
Recognition of Goodwill due to Business acquired       $ 9,700              
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill                     $ 4,800
Pipeline and Process Services                      
Business Acquisition [Line Items]                      
Business Acquisition, Date of Acquisition Agreement     Mar. 30, 2016                
Cash paid for business acquisitions, net of cash acquired     $ 65,500                
Recognition of Goodwill due to Business acquired     37,400                
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill                   $ 8,700  
Goodwill, Purchase Accounting Adjustments     $ 1,100                
Fiscal 2016 acquisitions [Member]                      
Business Acquisition [Line Items]                      
Net sales           $ 44,700 $ 32,800 19,100      
Acquisition Costs, Period Cost               $ 2,100      
Customer Relationships | Mirage Machines [Domain]                      
Business Acquisition [Line Items]                      
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill                 1,800    
Customer Relationships | Equalizer [Member]                      
Business Acquisition [Line Items]                      
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill 1,100                    
Customer Relationships | Larzep                      
Business Acquisition [Line Items]                      
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill                     3,600
Customer Relationships | Pipeline and Process Services                      
Business Acquisition [Line Items]                      
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill                   8,000  
Non-compete Agreements | Pipeline and Process Services                      
Business Acquisition [Line Items]                      
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill                   $ 700  
Trade Names | Mirage Machines [Member] [Member]                      
Business Acquisition [Line Items]                      
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill                 $ 2,300    
Trade Names | Equalizer [Member]                      
Business Acquisition [Line Items]                      
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill $ 800                    
Trade Names | Larzep                      
Business Acquisition [Line Items]                      
Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill                     $ 1,200