[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13897: Linux command - wc
From: |
Francisco José Tena |
Subject: |
bug#13897: Linux command - wc |
Date: |
Thu, 7 Mar 2013 12:38:44 +0100 |
Hello,
Using wc command in Linux, we're getting an unexpected behaviour.
The next command is returning 5 chars:
$ echo "TEST" | wc -m
The same behaviour is returned using the following command:
$ echo "TEST" | wc -c
Put the text in a file doesn't change the result.
If we type,
$ echo "TEST" | wc -L
the result is 4.
What the hell is happening?
Thanks,
Francisco Tena.
- bug#13897: Linux command - wc,
Francisco José Tena <=