Moode Forum

Full Version: Radio stations
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
A simple method would be to use tr, for example;

Code:
echo 'A  s:t&r-i.N"g   123' | tr -d [:punct:] | tr -s [:space:] _ | tr [:upper:] [:lower:]

a_string_123
Pages: 1 2 3