compact-shellscript.sed
author Dan Fuhry <dan@enanocms.org>
Mon, 05 Jul 2010 14:36:48 -0400
changeset 3 859eeb3579b2
parent 1 dbce0b16b0c1
permissions -rwxr-xr-x
Added uninstall script and warning about SSE2-only build of GMP

#!/bin/sed -f
# Remove comments, except for the shebang
s/^ *#[^!#].*$//
# Remove spaces at the beginning of all lines
s/^ *//
# Remove empty lines
/^$/d