mdisk: Delete unnecessary use of `strip_diskname` and use it elsewhere
[sunny256-utils.git] / bpakk
blob9c19553a1c4fcd4e6aac507bd3f195f9ed2e1170
1 #!/bin/sh
3 # bpakk
4 # File ID: 2a4e251e-7b6f-11df-b25f-00219bfade9b
6 if [ "$1" = "-d" ]; then
7 base64 -di | gunzip --stdout --force
8 else
9 gzip -9 | base64 -w 8 "$@" | tr '\n' ' ' | sed 's/ $//'