[freebsd] FreeBSD wc -m

Valentin Nechayev netch at netch.kiev.ua
Wed Dec 27 17:34:00 EET 2017


hi,

 Wed, Dec 27, 2017 at 16:29:36, skeletor wrote about "Re: [freebsd] FreeBSD wc -m": 

> >Если строку "test" поместить в файл (без перевода строки), то все ок:
> ># cat 1.txt | wc -m
> >        4
> >
> 
> Он есть:
> 
> $ echo -n test | wc -m
>        4

Лучше даже так показать:

$ echo test | hd
00000000  74 65 73 74 0a                                    |test.|
00000005


-netch-


More information about the freebsd mailing list