++ t d & f ^\.\.$
+7 Compress the current subdirectory to 7z
+ Pwd="`basename %d /`"
+ echo -n "Name of the distribution file (without extension) [$Pwd]: "
+ read ar
+ if [ "$ar"x = x ]; then ar="$Pwd"; fi
+ cd .. && 7zr a "$ar".7z "$Pwd" &&
+ echo ../"$ar".7z created.
+
++ ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ & t r
+z bzip2 the file
+ exec bzip2 -9 %f
+
++ ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ & t r
+z gzip the file
+ exec gzip -9 %f
+
++ ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ & t r
+z lzip the file
+ exec lzip -9 %f
+
++ ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ & t r
+z lzma the file
+ exec lzma -9 %f
+
++ ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$
+z 7z the file/directory
+ exec 7zr a %f.7z %f
+
++ ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ & t r
+z xz the file
+ exec xz -9 %f
+
++ ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$