sed substitution not working as desired – unix.stackexchange.com

I want to replaced all number with '@' symbol. I am using the below sed command , but not getting the desired result. command - echo "abc 434 pankaj 444" | sed 's/[0-9]*/@/g' Result - @a@b@c@ @ ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "sed substitution not working as desired – unix.stackexchange.com"