X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Ftarcat;h=c50fca3c9b5c59527b03bf8c1f54fde7afe73d4c;hb=5cb79ed51999e36add131116d3d3db586be9870e;hp=5c2671a1a77ee78656e409ac6a0d9652c46a14a0;hpb=85890103aef8e8812658656d798bd3b253ad0f99;p=chaz%2Ftar diff --git a/scripts/tarcat b/scripts/tarcat index 5c2671a..c50fca3 100755 --- a/scripts/tarcat +++ b/scripts/tarcat @@ -3,6 +3,23 @@ # concatenates a GNU tar multi-volume archive into a single tar archive. # Author: Bruno Haible , Sergey Poznyakoff +# Copyright 2004-2005, 2010, 2013 Free Software Foundation, Inc. + +# This file is part of GNU tar. + +# GNU tar is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. + +# GNU tar is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + # dump_type FILE [N] # Print type character from block N (default 0) of tar archive FILE dump_type() { @@ -35,8 +52,7 @@ do fi if [ "$T" = "M" ]; then SKIP=$(($SKIP + 1)) - fi + fi fi - dd skip=$SKIP if="$f" + dd skip=$SKIP if="$f" done -