fish/functions/rstrip.fish @ 745c3f963e84

Add options for handling encodings in `lines`
author Steve Losh <steve@stevelosh.com>
date Fri, 31 Jan 2020 13:03:56 -0500
parents c68485e8d84b
children (none)
function rstrip -d "Strip whitespace from the right of each line"
    sed -e 's/[[:space:]]*$//'
end