Re: [Bug-apl] apl symbols from a file

2016-02-14 Thread Elias Mårtenson
The wc command shows the number of bytes by default. If you want to count characters you need to use the flag -m. As documented in the manual page: -c, --bytes print the byte counts -m, --chars print the character counts Regards, Elias On 15 February

Re: [Bug-apl] apl symbols from a file

2016-02-14 Thread Kacper Gutowski
On Mon, Feb 15, 2016 at 12:08 AM, wrote: > the system's word count mechanism says length four. APL says length three, I > thought this was going to be length 1 and the symbol '⍝'. Does anyone know > what I am doing incorrectly: > > a@a:~/aplstuff$ echo "⍝" > txt > a@a:~/aplstuff$ cat txt > ⍝ > a@

[Bug-apl] apl symbols from a file

2016-02-14 Thread alexweiner
Hi Bug APL,the system's word count mechanism says length four. APL says length three, I thought this was going to be length 1 and the symbol '⍝'. Does anyone know what I am doing incorrectly:a@a:~/aplstuff$ echo "⍝" > txta@a:~/aplstuff$ cat txt⍝a@a:~/aplstuff$ wc txt1 1 4 txta@a:~/aplstuff$ ./wc.ap