摘自:http://blog.51cto.com/lynnteng0/804520 describe="it's a describe by yourself" if echo "$describe" | grep -q '^[a-zA-Z0-9]\+$'; then echo "ok" else echo "invalid" fi describe="it's a describe by yourself"
Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the length of both strings s and pwill not be larger than 20,100. The order of output does not matter.