fish/functions/rstrip.fish @ 809dbedf835c

doseq
author Steve Losh <steve@stevelosh.com>
date Fri, 09 Mar 2018 15:04:18 -0500
parents c68485e8d84b
children (none)
function rstrip -d "Strip whitespace from the right of each line"
    sed -e 's/[[:space:]]*$//'
end