Does anyone know how I can remove the numbers and period from the following string in bash?3104.302279 3104.302329 3104.302829 3104.302829 3104.303206 3104.303130 3104.303175 3104.303398 3104.303315 3104.303420 3104.303485 3104.303479 3104.303513 3104.303518 3104.302973 3104.303185 3104.303349 3104.303398 3104.303518 3104.303518 3104.303503 3104.303519 3104.303519 3104.303130 3104.303521 3104.303521 3104.303521 3104.303185 3104.303185 3104.303185 3104.303185 3104.303185 3104.303185 3104.303185 3104.303185 3104.303185 3104.303185 3104.303523 3104.303185 3104.303185 3104.303175 3104.303185 3104.303523 3104.303522 3104.303185 3104.303185 3104.303420 3104.303185 3104.303185 3104.303185 3104.303526 3104.303185 3104.303185 3104.303185 3104.303185 3104.303185 3104.303527 3104.303525 3104.303525 3104.303479 3104.303315 3104.303315 3104.303315 3104.303315 3104.303315Leaving the numbers after the period intact. I also want to store the result in a variable and not a file.
Stripping characters from a string
linux;bash