small doc update
[small-misc-bash] / ex
diff --git a/ex b/ex
index 775aba89dc69e23ffb7c77c518167c4228c9d1a7..c99cd12abe83a35eb118fc0c622df16fb608f3f7 100755 (executable)
--- a/ex
+++ b/ex
 
 ex() {
     local help="Usage: ex [--help] FILE...
-Extract each FILE according to its extension.
-7z bz2 deb gz iso rar rpm tar xz zip & variations.
-See source for exact file extensions."
+Extract many types of files based on their extensions
+
+7z bz2 deb gz iso dsc rar rpm tar xz zip sfs & some combinations.
+See source for exact file extensions.
+Note: apt-get install dtrx will do the same for
+most of these types, plus some more, I'm going
+to try it out sometime."
     if [[ $1 == --help ]]; then
         echo "$help"
     fi
@@ -51,6 +55,7 @@ See source for exact file extensions."
                 ;;
             *.r[0-9][0-9]|*.rar ) unrar x "$x" ;;
             *.dsc) dpkg-source -x "$x" ;;
+            *.sfs) $user unsquashfs "$x" ;;
             *)  echo "I don't kno how to extract $x";;
         esac
     done