11 lines
		
	
	
		
			167 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			167 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# look up in dictionary or thesauras
 | 
						|
# FIXME Make more user friendly
 | 
						|
 | 
						|
BASEURL=dict://dict.org
 | 
						|
 | 
						|
curl "$BASEURL/${1:-d}:${2:-$1}"
 | 
						|
 | 
						|
# vim:set ft=sh:
 |