18 lines
239 B
Bash
Executable File
18 lines
239 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
test -e toki_common \
|
|
&& . ./toki_common \
|
|
|| . toki_common
|
|
|
|
test -n "$2" \
|
|
&& printf 'Usage: %s (lipu)\n' >&2 \
|
|
&& exit 64 \
|
|
|| true # syexits(3) EX_USAGE
|
|
|
|
test -n "$1" \
|
|
&& JASIMA="$1"
|
|
|
|
dd <"$JASIMA" 2>/dev/null
|