fish/functions/rstrip.fish @ d1d3411ab22e

Fireplace hackery for cl-nrepl
author Steve Losh <steve@stevelosh.com>
date Tue, 01 Dec 2015 12:35:31 +0000
parents c68485e8d84b
children (none)
function rstrip -d "Strip whitespace from the right of each line"
    sed -e 's/[[:space:]]*$//'
end