+ SKIP=0
+ T=`dump_type "$f"`
+ if [ -n "$PAX" ]; then
+ if [ "$T" = "g" ]; then
+ # Global extended header.... 2 blocks
+ # Extended header........... 2 blocks
+ # Ustar header.............. 1 block
+ # FIXME: This calculation is will fail for very long file names.
+ SKIP=5
+ fi
+ else
+ if [ "$T" = "V" ]; then
+ T=`dump_type "$f" 1`
+ fi
+ if [ "$T" = "M" ]; then
+ SKIP=$(($SKIP + 1))
+ fi
+ fi
+ dd skip=$SKIP if="$f"