From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.4 Message-ID: <48D38F40.3080009@rambler.ru> Date: Fri, 19 Sep 2008 14:38:40 +0300 From: =?UTF-8?B?0JTQtdC90LjRgSDQr9Cz0L7RhNCw0YDQvtCy?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: ALT Linux Community Content-Type: multipart/mixed; boundary="------------060808080202000508080100" Subject: [Comm] =?utf-8?b?0JzQvdC+0LPQvtGC0L7QvNC90YvQuSB0YXIt0LDRgNGF0Lg=?= =?utf-8?b?0LIg0LHQtdC3IHNwbGl0?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2008 11:35:58 -0000 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------060808080202000508080100 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Добрый день. Я хочу создать tar'ом многотомный архив.... но без помощи split... пробую так: $ export ARG=1 $ tar -c -M -L 30000 --new-volume-script="cp test.tar test$(ARG=$(($ARG+1)) ; echo $ARG).tar" -f test.tar /folder-test Но ARG не меняется.... Когда пробую: $ echo $(export ARG=$(($ARG+1)) ; echo $ARG) или $ echo $( ARG=$(($ARG+1)) ; echo $ARG) Результат один и тот же.... Как поменять глобальный ARG из "под-"скрипта? --------------060808080202000508080100 Content-Type: text/x-vcard; charset=utf-8; name="denyago.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="denyago.vcf" YmVnaW46dmNhcmQNCmZuOkRlbmlzIFRpbXVyb3ZpY2ggWWFnb2Zhcm92DQpuOllhZ29mYXJv djtEZW5pcyBUaW11cm92aWNoDQpvcmc6SVRHSVMgTkFTVQ0KYWRyOnJvb20gNjE1OztDaG9r b2xvdnNraSBibHZkci4sIDEzO0tpZXY7OzAzMTUxO1VrcmFpbmUNCmVtYWlsO2ludGVybmV0 OmRlbnlhZ29AcmFtYmxlci5ydQ0KdGl0bGU6c3lzdGVtIGFkbWluaXN0cmF0b3INCnRlbDt3 b3JrOjgwNDQyNDgwNzU1DQp4LW1vemlsbGEtaHRtbDpGQUxTRQ0KdmVyc2lvbjoyLjENCmVu ZDp2Y2FyZA0KDQo= --------------060808080202000508080100--