bug#23190: wc - Different output

2016-04-02 Thread Assaf Gordon
tags 23190 notabug close 23190 thanks Hello Seva, On 04/01/2016 06:02 PM, Seva Adari wrote: I am not sure if this a bug or expected behavior! Here is different output from each run variation of wc invocation: wc -l test.txt Output: 20 awk

bug#23190: wc - Different output

2016-04-02 Thread Seva Adari
Hello, I am not sure if this a bug or expected behavior! Here is different output from each run variation of wc invocation: wc -l test.txt Output: 20 awk '{print $0}' /tmp/test.txt | wc -l Output: 21 cut /tmp/test.txt -f1 | wc -l