mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-11-04 07:21:06 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			409 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			409 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#compdef comm
 | 
						|
 | 
						|
local -a args
 | 
						|
 | 
						|
args=(
 | 
						|
  '-1[suppress lines unique to FILE1]'
 | 
						|
  '-2[suppress lines unique to FILE2]'
 | 
						|
  '-3[suppress lines that appear in both files]'
 | 
						|
  '1:file1 to compare:_files'
 | 
						|
  '2:file2 to compare:_files'
 | 
						|
)
 | 
						|
 | 
						|
if _pick_variant gnu=GNU unix --version; then
 | 
						|
  args+=(
 | 
						|
    '(- : *)--version[display version information]'
 | 
						|
    '(- : *)--help[display help information]'
 | 
						|
  )
 | 
						|
fi
 | 
						|
 | 
						|
_arguments -s $args
 |