$ echo blah | tee xxxxx.csv > yyyyy
$ ll
total 16
drwxr-xr-x 4 scott staff 136 22 Jul 19:43 .
drwxr-xr-x 43 scott staff 1462 22 Jul 19:41 ..
-rw-r--r-- 1 scott staff 5 22 Jul 19:43 xxxxx.csv
-rw-r--r-- 1 scott staff 5 22 Jul 19:43 yyyyy
$ ls *.csv | gzip *
$ ll
total 16
drwxr-xr-x 4 scott staff 136 22 Jul 19:43 .
drwxr-xr-x 43 scott staff 1462 22 Jul 19:41 ..
-rw-r--r-- 1 scott staff 35 22 Jul 19:43 xxxxx.csv.gz
-rw-r--r-- 1 scott staff 31 22 Jul 19:43 yyyyy.gz
---------- Post updated at 07:54 PM ---------- Previous update was at 07:39 PM ----------
(the "Are you sure" question was related to whether it worked, not whether it would prompt you for anything. But it neither works nor prompts you, so you were half right :))