[dpaste] Fixed file pasting with option -t

This commit is contained in:
Roman Inflianskas 2014-06-09 13:44:46 +04:00 committed by Bruno Pinto
parent 4aedc2917f
commit feff0bb89d

View File

@ -29,7 +29,7 @@ function __dpaste_parse_expires
if [ -z (echo $expires | sed -r "s/$__dpaste_expires_choises//") ]
set __dpaste_send_url "$__dpaste_send_url&expires=$expires"
end
echo $argv | sed -r "s/$expires_spec//"
echo $argv | sed -r "s/$expires_spec//" | xargs
end
function __dpaste_help