fish/functions/rstrip.fish @ c15e0d8e066d

More
author Steve Losh <steve@stevelosh.com>
date Tue, 21 May 2019 13:40:33 -0400
parents c68485e8d84b
children (none)
function rstrip -d "Strip whitespace from the right of each line"
    sed -e 's/[[:space:]]*$//'
end