bug#18585: Bad count in WC command?

2014-09-29 Thread Eric Blake
On 09/29/2014 02:47 PM, Eric Blake wrote: > tag 18585 notabug > thanks > > On 09/29/2014 07:25 AM, Schapovalov, Sebastian wrote: >> Hello, I was testing one parameter in my .sh and realised that the wc >> command return a different value that I was expected. I send y

bug#18585: Bad count in WC command?

2014-09-29 Thread Eric Blake
tag 18585 notabug thanks On 09/29/2014 07:25 AM, Schapovalov, Sebastian wrote: > Hello, I was testing one parameter in my .sh and realised that the wc command > return a different value that I was expected. I send you a couple examples. > > I have to validate a celular telephon

bug#18585: Bad count in WC command?

2014-09-29 Thread Schapovalov, Sebastian
Hello, I was testing one parameter in my .sh and realised that the wc command return a different value that I was expected. I send you a couple examples. I have to validate a celular telephone number (in Argentina), so, it has to be a 10 chars parameter. sarasa() -- seba > echo 1029384

Re: wc command

2008-12-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 12/22/2008 10:57 AM: >>> It would be possible to add a conditional check, where if POSIXLY_CORRECT >>> is not defined in the environment and a filter app is started with a tty >>> as stdin and stderr (ie. the same criteria

Re: wc command

2008-12-22 Thread Jim Meyering
Pádraig Brady wrote: > Eric Blake wrote: >> According to Andrew McGill on 12/22/2008 1:38 AM: >>> My guess is that while it would be friendly to provide a similar message for >>> wc (od, head, tail, etc), it would violate something posixy (and is >>> therefore >>> imposixable). >> >> It would be

Re: wc command

2008-12-22 Thread Pádraig Brady
Eric Blake wrote: > According to Andrew McGill on 12/22/2008 1:38 AM: >> My guess is that while it would be friendly to provide a similar message for >> wc (od, head, tail, etc), it would violate something posixy (and is >> therefore >> imposixable). > > It would be possible to add a conditiona

Re: wc command

2008-12-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Andrew McGill on 12/22/2008 1:38 AM: > My guess is that while it would be friendly to provide a similar message for > wc (od, head, tail, etc), it would violate something posixy (and is therefore > imposixable). It would be possible to

Re: wc command

2008-12-22 Thread Andrew McGill
On Wednesday 17 December 2008 15:07:43 Pádraig Brady wrote: > chakrapani.chittabathina wrote: > > Hi, > > First, we are grateful to you for your contribution towards this great > > open source project. > > Bug : when i am using "wc" command, i've enter

Re: wc command

2008-12-17 Thread Pádraig Brady
chakrapani.chittabathina wrote: > Hi, > First, we are grateful to you for your contribution towards this great > open source project. > Bug : when i am using "wc" command, i've entered only wc without any > option and file name even, acidently, then it didn'

Re: wc command

2008-12-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to chakrapani.chittabathina on 12/17/2008 1:06 AM: Hello Chakrapani, > Bug : when i am using "wc" command, i've entered only wc without any > option and file name even, acidently, then it didn't give any error

wc command

2008-12-17 Thread chakrapani.chittabathina
Hi, First, we are grateful to you for your contribution towards this great open source project. Bug : when i am using "wc" command, i've entered only wc without any option and file name even, acidently, then it didn't give any error report, even not giving help info.

Re: Defect in count result of "wc" command

2006-09-04 Thread Bob Proulx
Saifullah QAZI wrote: > > >Hi, using cygwin, 'wc' count is alway one less than actual lines in file= . >Is that defect or designed.? > The wc program counts newline characters (0x0a) in the file. info coreutils wc `wc' counts the number of bytes, characters, whitespace-sep

Defect in count result of "wc" command

2006-09-04 Thread Saifullah QAZI
Hi, using cygwin, 'wc' count is alway one less than actual lines in file= . Is that defect or designed.? thanks Saifullah Qazi Test Consultant SoftTest Labs Tel: +1(778) 855-1106 http://www.softtestlabs.com ___

Re: wc command

2005-05-13 Thread Paul Eggert
"Sebastian, Susan M" <[EMAIL PROTECTED]> writes: > The man pages says the wc command will > "wc - print the number of bytes, words, and lines in files", Thanks, but this doesn't seem to be in the latest coreutils CVS; perhaps you're talki

wc command

2005-05-13 Thread Sebastian, Susan M
The man pages says the wc command will "wc - print the number of bytes, words, and lines in files", but the actual output from the command is in he order of line, word, byte. Susan Sebastian ___ Bug-coreutils mailing list Bug-coreutils@gn