awk '{gsub(/[[:upper:]]/,"_&");sub(/_/,"");print tolower($0)}' <<< "RazDwaTrzy.txt"
Standard input is empty
raz_dwa_trzy.txt
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!