2010-12-11 32 views

回答

3

,將工作,但您需要echo行:

echo "I have a space" | grep "[[:space:]]"

2
echo $line | grep " "