Wednesday, March 21, 2007

remove spaces and comments (archival purpose)

cat /etc/squid/squid.conf | perl -e 'foreach (<>) {if (!/^[#\s+]/) {print;}}' > squid.conf

No comments:

VIM issues with powerline

What to do if you get this annoying issue - vi requirements.txt ...