Hi, I typed this simple cmd in the bash: echo 123 |perl -pe 's/(\d)(\d)/$1.$2/g' and expected ouput like 1.2.3 but obtained this one: 1.23
What's wrong and how to write a regexp cmd which will transfer a number to digits with dots in between? eg: 1234 -> 1.2.3.4 Thanx Regards, Dusan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]