Hi, $ wc -l 1.txt returns " 150 1.txt" I want to extract the lines count "100" as the following, $ wc -l 1.txt | <some sommand> returns 100 grep -Po option can realize this but -Po options is supported after grep-2.5 and my system is grep-2.4.2. Is there any other idea? -- Tsuyoshi Takada <acroyear@gmx.ch>