Re: sed - add thousand separator
- From: Ed Morton <morton@xxxxxxxxxxxxxx>
- Date: Mon, 16 Oct 2006 15:53:57 -0500
sil wrote:
mik3 wrote:
thomasriise wrote:
Hi Guys,
echo 230218301928312093 | sed 's/\(...\)/\1./g;s/.$//'
So simple and clean
and wrong:
$ echo 1234 | sed 's/\(...\)/\1./g;s/.$//'
123.
Ed.
.
- References:
- sed - add thousand separator
- From: thomasriise
- Re: sed - add thousand separator
- From: mik3
- Re: sed - add thousand separator
- From: sil
- sed - add thousand separator
- Prev by Date: Re: Issues with creating a shell script.
- Next by Date: Re: USB Scanner GNU/Linux Tool
- Previous by thread: Re: sed - add thousand separator
- Next by thread: Re: sed - add thousand separator
- Index(es):