Applied a patch to support OpenBSD.
This commit is contained in:
		
							parent
							
								
									17b0c36f69
								
							
						
					
					
						commit
						8da0d38b6d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								pm
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								pm
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -29,7 +29,7 @@ trap "rm -f $GZFILE $CFILE" EXIT
 | 
			
		|||
extract_section() {
 | 
			
		||||
	sed -e "1,/^XXXXSTART$1/d" "$THISFILE" | (
 | 
			
		||||
		read size
 | 
			
		||||
		head -c $size
 | 
			
		||||
		dd bs=1 count=$size 2> /dev/null
 | 
			
		||||
	) > $GZFILE
 | 
			
		||||
	cat $GZFILE | cat
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue