skrypt bash, który zastąpiła stroikiem podkreśleniem

#!/bin/bash

echo "$1" | tr '-' '_'
#or
ls | tr '-' '_'
Glorious Gnu