mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	minor, a better hex_dump
This commit is contained in:
		
							parent
							
								
									d78ba322bf
								
							
						
					
					
						commit
						5f8daeeb6d
					
				
							
								
								
									
										6
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								acme.sh
									
									
									
									
									
								
							| @ -344,11 +344,7 @@ _is_solaris() { | ||||
| #input:"abc" | ||||
| #output: " 61 62 63" | ||||
| _hex_dump() { | ||||
|   if _is_solaris; then | ||||
|     od -A n -v -t x1 | tr -d "\r\n\t" | tr -s " " | tr -d "\n" | ||||
|   else | ||||
|     od -A n -v -t x1 | tr -d "\r\n\t" | tr -s " " | sed "s/ $//" | tr -d "\n" | ||||
|   fi | ||||
|   od -A n -v -t x1 | tr -d "\r\t" | tr -s " " | sed "s/ $//" | tr -d "\n" | ||||
| } | ||||
| 
 | ||||
| #url encode, no-preserved chars | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user