awk '/^ayy*/,/^azz*/' /usr/share/dict/linux.words ←列出字典中ay 到az 開頭的所有的單字 ... echo "google goooogle" |awk '{sub(/go+g/,"YAHOO");print }' ←如字 ...
確定! 回上一頁