diff options
author | Luke Shumaker <luke@HP-dv6426us-u904.(none)> | 2009-10-24 02:29:05 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:16 -0600 |
commit | 9a23c9f512f04ef3dcbb715e2dccb7a9b8b3036a (patch) | |
tree | c0375eb00d9798a5f15d8093ab50dd7620c9dc86 /ptranslate/translators-posix/x-bzip2.sh | |
parent | acc687b3a74e3c8d750630c323d223f1c63599db (diff) |
managing the whole thing with GIT now
Diffstat (limited to 'ptranslate/translators-posix/x-bzip2.sh')
-rw-r--r-- | ptranslate/translators-posix/x-bzip2.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ptranslate/translators-posix/x-bzip2.sh b/ptranslate/translators-posix/x-bzip2.sh new file mode 100644 index 0000000..0402784 --- /dev/null +++ b/ptranslate/translators-posix/x-bzip2.sh @@ -0,0 +1,7 @@ +#!/bin/sh +file="$1" +bzip2 -dk "$file" +out="`echo "$file" | sed -r 's/\.(bz2)|(bz)|(tbz2)|(tbz)|(bzip2)$//'`" +if [ "$out" == "$file" ]; then out="$out.out"; fi +echo "$out" + |