From: Konstantin <altlinux@tut.by>
To: community@altlinux.ru
Subject: Re: [Comm] Re: [Comm] Удаление первых 72 байта файла
Date: Mon, 24 Feb 2003 12:43:13 +0200
Message-ID: <200302241243.13651.altlinux@tut.by> (raw)
In-Reply-To: <12813356635.20030223212204@udm.ru>
В сообщении от 23 Февраль 2003 19:22 ASA написал:
> Hello Konstantin,
>
> Sunday, February 23, 2003, 8:17:41 PM, you wrote:
>
> K> Как это сделать? du + tail не красиво, а head не может.
>
> man dd
> для маленьких файлов достаточно эффективно:
> dd skip=1 bs=72
> для больших файлов imho эффективнее в два вызова:
> dd if=file1 skip 72 bs=1 count=65464 >file2
> dd if=file1 skip 1 bs=64k >>file2
>
> число 65464 равно 65536-72.
Спасибо.
--
Wake up Neo! Matrrrrr2|234.$@%f3^@af4ga NO CARRIER
next prev parent reply other threads:[~2003-02-24 10:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-23 16:17 Konstantin
2003-02-23 17:22 ` [Comm] " ASA
2003-02-24 10:43 ` Konstantin [this message]
2003-02-23 18:28 ` Aleksey Korolkov
2003-02-24 10:42 ` Konstantin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200302241243.13651.altlinux@tut.by \
--to=altlinux@tut.by \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git