Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Re: M17N (?)



On Sat, Sep 19, 1998 at 10:58:54AM +0900, Ken Harada wrote:
> At Sat, 19 Sep 1998 10:21:15 +0900 (JST), Scott Stone <sstone@example.com> wrote:-
> > Beats me.  Go figure this:
> > 
> > [sstone@example.com sstone]$ echo internationalization | wc
> >       1       1      21
> > [sstone@example.com sstone]$ echo international | wc
> >       1       1      14
> > 
> > so what's I18N, then?
> 
> mmm, i-n-t-e-r-n-a-t-i-o-n-a-l-i-z-a-t-i-o-n counts only 20,
> why wc gives 21?

echo takes each of its arguments and puts a space between each one (if there
is more than one) *and a newline after the last one* by default.

[jwt@example.com jwt]$ echo -n internationalization | wc -c
     20
     
-- 
Jim Tittsler, Tokyo   ICQ: 5981586


--------------------------------------------------------------
Next Nomikai: 18 September, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 10 October, Tokyo Station Yaesu central gate 12:30
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links