sudo curl -L https://github.com/lollilol/shell_remove_comments/blob/master/remove_comments?raw=1 -o /usr/local/bin/remove_comments && sudo chmod +x /usr/local/bin/remove_comments
- place remove_comments in /usr/local/bin/
- make it executable: chmod +x /usr/local/bin/remove_comments
$ cat /etc/locale.gen | remove_comments
en_US.UTF-8 UTF-8