#JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 #!/bin/bash sentence="how they are implemented and applied in computer." words=($sentence) for word in "${words[@]}"; do if [[ ${#word} -lt 5 ]]; then echo $word fi done