fish/functions/rstrip.fish @ b83a98ba30ee

More
author Steve Losh <steve@stevelosh.com>
date Mon, 11 Nov 2019 20:45:20 -0500
parents c68485e8d84b
children (none)
function rstrip -d "Strip whitespace from the right of each line"
    sed -e 's/[[:space:]]*$//'
end