Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Search for 3 5's in given 6 digit number
#!/bin/bash input_number=111555 if [[ $input_number =~ ^[0-9]+$ ]]; then if [[ ${#input_number} == 6 ]]; then if [[ `echo $input_number| awk -F"5" '{print NF-1}'` == 3 ]]; then echo "You number looks nice" $input_number else echo "doesn't have 3 occurences of 5"; fi else echo "Not 6 digits"; fi else echo "not a number"; fi
run
|
edit
|
history
|
help
1
deneme2
Teaspeak_installer.sh
leer_de_la_memoria.sh
'Free Fire'
1111
a
FCFS_done
GetListRDA
Sample
yes