diff --git a/bin/tee b/bin/tee index 04704d93..cb7f771d 100755 --- a/bin/tee +++ b/bin/tee @@ -19,6 +19,7 @@ License: perl while ($ARGV[0] =~ /^-(.+)/ && (shift, ($_ = $1), 1)) { next if /^$/; + last if $_ eq '-'; # '--' terminator s/i// && (++$ignore_ints, redo); s/a// && (++$append, redo); s/u// && (++$unbuffer, redo);