mirror of
				https://github.com/peeringdb/peeringdb.git
				synced 2024-05-11 05:55:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			177 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			177 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
handle=$1
 | 
						|
if test -z "$handle"; then
 | 
						|
  echo usage $0 HANDLE
 | 
						|
  exit 1
 | 
						|
fi
 | 
						|
 | 
						|
curl -L4 https://rdap.db.ripe.net/autnum/$handle > tests/data/rdap/autnum/${handle}.input
 | 
						|
 |