linux - how to remove all occurences of dot in a string in a shell script? -


e.g hostname = "test.test.test", after removing result should "testtesttest"

you can pipe into

tr -d '.' 

but best way of doing not use external command , use shell built in.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -