#!/bin/bash
#                       /usr/local/bin/decomment
#  http://crystalfaeries.net/posix/bin/decomment
# Celeste Crystalfaery 2016-02-20 20:11:27+00:00
# http://www.commandlinefu.com/commands/view/2155/show-a-config-file-without-comments
cat $@ | grep -Ev '^(#.*|$)|#.*'
echo "$0 may have stripped out shell script lines which utilize comment characters in their algorithms" >2 1>&2


syntax highlighted by Code2HTML, v. 0.9.1