;;; -*-Scheme-*-
;;;
-;;; $Id: unix.scm,v 1.101 1999/10/07 17:08:16 cph Exp $
+;;; $Id: unix.scm,v 1.102 1999/12/06 21:08:37 cph Exp $
;;;
;;; Copyright (c) 1989-1999 Massachusetts Institute of Technology
;;;
visit?
(let ((type (pathname-type pathname)))
(cond ((equal? "gz" type)
- (read-compressed-file "gzip -cd" pathname mark))
+ (read-compressed-file "gzip -d" pathname mark))
((equal? "bz2" type)
- (read-compressed-file "bzip2 -cd" pathname mark))
+ (read-compressed-file "bzip2 -d" pathname mark))
((equal? "Z" type)
(read-compressed-file "uncompress" pathname mark))))))
,@(os-independent/read-file-methods)))
visit?
(let ((type (pathname-type pathname)))
(cond ((equal? "gz" type)
- (write-compressed-file "gzip -c" region pathname))
+ (write-compressed-file "gzip" region pathname))
((equal? "bz2" type)
- (write-compressed-file "bzip2 -c" region pathname))
+ (write-compressed-file "bzip2" region pathname))
((equal? "Z" type)
(write-compressed-file "compress" region pathname))))))
,@(os-independent/write-file-methods)))