Compare commits
No commits in common. "d1d157c0747d43bc95cdc63755187f7926b3dbae" and "7d7fa1e2a55f12cb0c43838de832dbddb058582d" have entirely different histories.
d1d157c074
...
7d7fa1e2a5
@ -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