2
please advice how to remove only the second "." character from the version number with awk
I need to fit the syntax for Linux & Solaris
I write the
sed "s'/\./ /g'" -
but this syntax remove all "." from the version number
for example (version number before)
34.34.55.4
after sed manipulation will be
34.34 55.4
Have you considered awk instead? Doing this with SED is going to be painful simply because it has a very limited ability to deal with any kind of state. – Zoredache – 2012-02-16T07:52:01.087
1@Zoredache although I usually recommend awk as well, its not so painful in sed ;) – SiegeX – 2012-02-16T07:53:30.200
ok I update the question – Eytan – 2012-02-16T07:57:37.303