repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
biome: 1.9.2 -> 1.9.3
[NixPkgs.git]
/
pkgs
/
tools
/
graphics
/
zxing
/
zxing.sh
blob
a38558d87026d95b03b93e27f134fbe09e0c9249
1
#! /bin/sh
2
choice
=
"
$1
"
;
3
shift
4
case
"
$choice
"
in
5
encode | create |
write
| CommandLineEncoder
)
6
zxing-cmdline-encoder
"$@"
;
7
;;
8
decode |
read
| run | CommandLineRunner
)
9
zxing-cmdline-runner
"$@"
;
10
;;
11
help
| usage |
--help
|
--usage
|
-h
)
12
zxing
read
;
13
zxing
write
;
14
;;
15
*)
16
zxing
read
"
$choice
"
"$@"
17
;;
18
esac