Unix shell - View topic - BASH Script to read a file, but ignore #comments
hi, I am trying to get a script to read a list of banned sites: while read BANNED; do iptables -A FORWARD -j DROP -s $BANNED done < /root/scripts/bannedsites ... On 13 Nov 2004 13:29:56 -0800, Luke Robertson wrote: Well if comment is first char on line...