fish/functions/rstrip.fish @ c27fb01fc92f

au
author Steve Losh <steve@stevelosh.com>
date Sat, 07 Jul 2018 20:27:24 +0000
parents c68485e8d84b
children (none)
function rstrip -d "Strip whitespace from the right of each line"
    sed -e 's/[[:space:]]*$//'
end