compact-shellscript.sed
author Dan Fuhry <dan@enanocms.org>
Mon, 05 Jul 2010 23:57:56 -0400
changeset 5 7d3b7009399d
parent 1 dbce0b16b0c1
permissions -rwxr-xr-x
Added OS X tr workaround; added support for making Mercurial-only packages that pull Enano from Mercurial and install it using mkenanodev

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