示例语句:
Bash also interprets a number of multi-character options.
!/bin/bash
#
shell打印示例语句中字母数小于6的单词
#
for s in Bash also interprets a number of multi-character options.
do
n=echo $s|wc -c
if [ $n -lt 6 ]
then
echo $s
fi
done
for s in Bash also interprets a number of multi-character options.
do
n=echo $s|wc -c
if [ $n -lt 6 ]
then
echo $s
fi
done