1#!/bin/sh 2 3while [ "$1" != "" ]; do 4 case $1 in 5 --version) 6 /bin/cat <<'OUTPUT' 7gpg (GnuPG) 1.4.22 8Copyright (C) 2015 Free Software Foundation, Inc. 9License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 10This is free software: you are free to change and redistribute it. 11There is NO WARRANTY, to the extent permitted by law. 12 13Home: ~/.gnupg 14Supported algorithms: 15Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA 16Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, 17 CAMELLIA128, CAMELLIA192, CAMELLIA256 18Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 19Compression: Uncompressed, ZIP, ZLIB, BZIP2 20OUTPUT 21 ;; 22 -?*) 23 echo "Unknown option: $1" 24 ;; 25 *) 26 break 27 esac 28 shift 29done 30