16 lines
		
	
	
		
			288 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			288 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
| #!/bin/bash
 | |
| 
 | |
| declare -i WC
 | |
| WC=$(pokemon-colorscripts -l | wc | awk '{print $1}' )
 | |
| 
 | |
| declare -i COUNT
 | |
| COUNT="$WC"
 | |
| 
 | |
| for POKEMON in $(pokemon-colorscripts -l); do
 | |
| 	./jqPoke "$POKEMON" > "./pokeData/$POKEMON"
 | |
| 	((COUNT++))
 | |
| 	PCT="$((WC*100/COUNT))"
 | |
| 	printf "%s \t%s%%\n" "$POKEMON" "$PCT"
 | |
| done
 | |
| 
 |