mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	fix strip_*_space()
This commit is contained in:
		| @@ -1090,10 +1090,10 @@ strip_spaces() { | |||||||
|  |  | ||||||
| # https://web.archive.org/web/20121022051228/http://codesnippets.joyent.com/posts/show/1816 | # https://web.archive.org/web/20121022051228/http://codesnippets.joyent.com/posts/show/1816 | ||||||
| strip_leading_space() { | strip_leading_space() { | ||||||
|      echo "${1#"${1%%[\![:space:]]*}"}" |      printf "%s" "${1#"${1%%[![:space:]]*}"}" | ||||||
| } | } | ||||||
| strip_trailing_space() { | strip_trailing_space() { | ||||||
|      echo "${1%"${1##*[![:space:]]}"}" |      printf "%s" "${1%"${1##*[![:space:]]}"}" | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk
					Dirk