当前位置: 技术问答>linux和unix
急需帮助~请指教
来源: 互联网 发布时间:2016-02-21
本文导语: Write a single Unix pipeline command to display the total number of lines in a file mine.txt beginning with a number, but not ending with the odd number. | awk '{/^[0-9].*[^13579]$/ print $0}' | wc -l
Write a single Unix pipeline command to display the total number of lines in a file mine.txt
beginning with a number, but not ending with the odd number.
beginning with a number, but not ending with the odd number.
|
awk '{/^[0-9].*[^13579]$/ print $0}' | wc -l