Compare commits
No commits in common. "7d7fa1e2a55f12cb0c43838de832dbddb058582d" and "d1d157c0747d43bc95cdc63755187f7926b3dbae" have entirely different histories.
7d7fa1e2a5
...
d1d157c074
@ -5,7 +5,7 @@ image="$1"; [ -z "$1" ] && { echo "No image file specified!" >&2; exit 1; }
|
||||
mfile="$2"; [ -z "$2" ] && { echo "No mapfile specified!" >&2; exit 1; }
|
||||
[ -z "$3" -a -t 1 ] && { echo "The output of this script is unsafe for raw display." >&2
|
||||
exit 1; } \
|
||||
|| ofile=${3:-/dev/stdout}
|
||||
|| ofile=${3:-/dev/stdout}
|
||||
|
||||
BLOCKSIZE=`sed -nE 's/^#BLOCKSIZE=([0-9]+)$/\1/p' "$mfile"`
|
||||
[ -z "$BLOCKSIZE" ] && { echo "Mapfile does not specify blocksize!" >&2; exit 1; }
|
||||
|
Loading…
Reference in New Issue
Block a user