ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yura Kalinichenko <yuk@iceb.vinnitsa.com>
To: community@altlinux.ru
Subject: Re: [Comm] Re: Резать файл на кусочки.
Date: Mon, 23 Sep 2002 22:00:59 +0300 (EEST)
Message-ID: <Pine.LNX.4.43L.0209232156530.2773-100000@localhost.localdomain> (raw)
In-Reply-To: <20020923175220.GN20694@osdn.org.ua>

В Пон, 23 Сен 2002, Michael Shigorin написал(а):

MS> On Mon, Sep 23, 2002 at 07:48:00PM +0300, Yura Kalinichenko wrote:
MS> > MS> > Как у каждого файла отрезать и выкинуть первые 30 кб, оставив
MS> > MS> остальное?
MS> > MS> интуитивно понятно -- head/tail :) [можно и cut, но -- зачем?]
MS> >
MS> > for fn in * ; do
MS> >    dd bs=1k skip=30 if=$fn of=${fn}-30
MS> >    if [ $? -eq 0 ]; then
MS> >       mv ${fn}-30 $fn
MS> >    fi
MS> > done
MS>
MS> Юра, это сложнее split :-)  И overkill :-)
MS>
Не, это самое то.
Как ты split'ом отрежешь первые 30к, оставив остальное на месте ?
Даже если возможно - будет значительно сложнее.

-- 
Yura Kalinichenko




  reply	other threads:[~2002-09-23 19:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-20  2:54 [Comm] " Alexander Mayorov
2002-09-20  4:54 ` Alexander Mayorov
2002-09-23 13:18 ` Alexander Mayorov
2002-09-23 15:48 ` [Comm] " Michael Shigorin
2002-09-23 16:48   ` Yura Kalinichenko
2002-09-23 17:52     ` Michael Shigorin
2002-09-23 19:00       ` Yura Kalinichenko [this message]
2002-09-24  0:08         ` Alexander Mayorov
2002-09-24  7:28           ` Artem K. Jouravsky
2002-09-24  2:28             ` Alexander Mayorov
2002-09-24  9:25               ` Michael Shigorin
2002-09-24 11:28               ` Antonio
2002-09-24 10:23           ` [Comm] [JT] òÅÚÁÔØ ÆÁÊÌ ÎÁ ËÕÓÏÞËÉ Henri Bourbon
2002-09-24 15:21           ` [Comm] Re: Резать файл на кусочки Yura Kalinichenko
2002-09-25  6:43             ` Alexander Mayorov
2002-09-25 15:18     ` "Илья Брызгалов"
2002-09-26  1:11       ` Ruslan Balkin
2002-09-26 14:30       ` Yura Kalinichenko

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=Pine.LNX.4.43L.0209232156530.2773-100000@localhost.localdomain \
    --to=yuk@iceb.vinnitsa.com \
    --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