From: Alexander Mayorov <fedex@bashnet.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: Резать файл на кусочки.
Date: Tue, 24 Sep 2002 08:28:58 +0600
Message-ID: <200209240828.58554.fedex@bashnet.ru> (raw)
In-Reply-To: <20020924072838.GC27653@ifirst.ru>
tail обладает привычкой выводить ПОСЛЕДНИЕ n строк, но задача в том, что
количество строк в файлах разное,
head вытягивает заголовки, отбрасывая конец файла...
То есть не зная длину файла в строках, но зная длину заголовка, надо этот
заголовок удалить :((
Александр
On Tuesday 24 September 2002 13:28, Artem K. Jouravsky wrote:
> On Tue, Sep 24, 2002 at 06:08:10AM +0600, Alexander Mayorov wrote:
> > Продолжаем резать...
> > А что скажет общественность по поводу команды csplit???
> > Я, к сожалению, так и не понял, как сделать так, что бы отрезались
> > первые, например не 30 кб, а 50 строк.
>
> Если _строк_, то точно tail/head(1)
--
До свадьбы думал, что знаю ее как пять пальцев, но после оказалось,
что все они у нее указательные.
-- Д.Глухов
next prev parent reply other threads:[~2002-09-24 2:28 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
2002-09-24 0:08 ` Alexander Mayorov
2002-09-24 7:28 ` Artem K. Jouravsky
2002-09-24 2:28 ` Alexander Mayorov [this message]
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=200209240828.58554.fedex@bashnet.ru \
--to=fedex@bashnet.ru \
--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