bug#23190: wc - Different output

2016-04-07 Thread Seva Adari
Thanks for the explanation! On Sat, Apr 2, 2016 at 4:40 PM, Assaf Gordon wrote: > 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

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 '{prin

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