sendfiles rewrite,
f8baa5a34335fc0fc8ccabfabc601d0af73ab769, a few
weeks ago. But because sendfiles fed zip from standard input, zip
would use Zip64 extensions. That would require unzip 6.0 or later
to extract, according to the zip man page. But current MacOS X
uses unzip 5.52, so it broke there.
or
sendfiles [switches] recipient subject file1 [file2 ...]
switches are:
- -compress [bzip2 | compress | gzip | lzma | none | zip]
+ -compress [bzip2 | compress | gzip | lzma | none]
-from <sender>
-[delay] <delay> (expressed in seconds)
-version
#### Determine compression method and descriptive info.
if [ x"$compress" = x ]; then
- for compressor in gzip bzip2 lzma zip compress none; do
+ for compressor in gzip bzip2 lzma compress none; do
if [ x"`finddir $compressor`" = x ]; then :; else
compress="$compressor"
break
conversion='; x-conversions=gzip' ;;
lzma) compress='lzma -c'; uncompress='lzma -cd'
conversion='; x-conversions=lzma' ;;
- zip) compress='zip -q'; uncompress='unzip -p'
- conversion='; x-conversions=zip' ;;
none) compress=cat uncompress=cat; conversion= ;;
*) printf 'sendfiles: unknown compression method "%s"\n' \
"$compress" >&2
.na
.B sendfiles
.RB [ -compress
-.IR bzip2 " | " compress " | " gzip " | " lzma " | " none " | " zip ]
+.IR bzip2 " | " compress " | " gzip " | " lzma " | " none ]
.br
.RB [ \-from
.IR sender ]
or
sendfiles [switches] recipient subject file1 [file2 ...]
switches are:
- -compress [bzip2 | compress | gzip | lzma | none | zip]
+ -compress [bzip2 | compress | gzip | lzma | none]
-from <sender>
-[delay] <delay> (expressed in seconds)
-version
or
sendfiles [switches] recipient subject file1 [file2 ...]
switches are:
- -compress [bzip2 | compress | gzip | lzma | none | zip]
+ -compress [bzip2 | compress | gzip | lzma | none]
-from <sender>
-[delay] <delay> (expressed in seconds)
-version
or
sendfiles [switches] recipient subject file1 [file2 ...]
switches are:
- -compress [bzip2 | compress | gzip | lzma | none | zip]
+ -compress [bzip2 | compress | gzip | lzma | none]
-from <sender>
-[delay] <delay> (expressed in seconds)
-version
[ "`findprog gzip`" ] && test_sendfiles 'gzip -cd' new -compress gzip
[ "`findprog gzip`" ] && test_sendfiles 'gzip -cd' new -gzip
[ "`findprog lzma`" ] && test_sendfiles 'lzma -cd' new -compress lzma
-[ "`findprog zip`" ] && test_sendfiles 'unzip -p' new -compress zip
# check with no compression
cat >"$expected" <<EOF