* Re: [Comm] Сколько строк в файле?
2003-06-20 9:54 [Comm] Сколько строк в файле? Прокопьев Евгений
@ 2003-06-20 10:03 ` Maxim Tyurin
0 siblings, 0 replies; 2+ messages in thread
From: Maxim Tyurin @ 2003-06-20 10:03 UTC (permalink / raw)
To: community
On Fri, Jun 20, 2003 at 01:54:46PM +0400, Прокопьев Евгений wrote:
>
> Здравствуйте!
>
> Какая утилита позволяет узнать, сколько строк в текстовом файле? Была
> вроде такая, не могу вспомнить название.
wc
--
With Best Regards, Maxim Tyurin
JID: MrKooll@jabber.pibhe.com
>From voins@voins.program.ru Fri Jun 20 14:05:53 2003
Return-Path: <voins@voins.program.ru>
Delivered-To: community@lrn.ru
Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235])
by lrn.ru (Postfix) with ESMTP id 8B79E4994E
for <community@lrn.ru>; Fri, 20 Jun 2003 14:05:53 +0400 (MSD)
Received: from citnet.ru (mail.citnet.ru [212.1.224.54])
by master.altlinux.ru (Postfix) with SMTP id 18FD7E31DB
for <community@altlinux.ru>; Fri, 20 Jun 2003 14:05:52 +0400 (MSD)
Received: (qmail 10659 invoked by uid 104); 20 Jun 2003 08:54:16 -0000
Received: from voins@voins.program.ru by mail.citnet.ru by uid 101 with
qmail-scanner-1.12 (sweep: 2.10/3.57. . Clear:. Processed in 0.57618 secs); 20
Jun 2003 08:54:16 -0000
Received: from unknown (HELO voins.ornet.lan) (212.1.232.15)
by citnet.ru with SMTP; 20 Jun 2003 08:54:16 -0000
Received: by voins.ornet.lan (Postfix, from userid 500)
id 75C821FE5D; Fri, 20 Jun 2003 14:04:28 +0400 (MSD)
Date: Fri, 20 Jun 2003 14:04:28 +0400
From: Alexey Voinov <voins@voins.program.ru>
To: community@altlinux.ru
Subject: Re: [Comm] =?koi8-r?B?88vPzNjLzyDT1NLP?=
=?koi8-r?B?yyDXIMbByszFPw==?=
Message-ID: <20030620100428.GA4176@voins.local>
References: <3EF2D9E6.80005@rmts.donpac.ru>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF"
Content-Disposition: inline
In-Reply-To: <3EF2D9E6.80005@rmts.donpac.ru>
User-Agent: Mutt/1.4.1i
X-BeenThere: community@altlinux.ru
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: community@altlinux.ru
List-Id: <community.altlinux.ru>
List-Unsubscribe: <http://www.altlinux.ru/mailman/listinfo/community>,
<mailto:community-request@altlinux.ru?subject=unsubscribe>
List-Archive: </pipermail/community>
List-Post: <mailto:community@altlinux.ru>
List-Help: <mailto:community-request@altlinux.ru?subject=help>
List-Subscribe: <http://www.altlinux.ru/mailman/listinfo/community>,
<mailto:community-request@altlinux.ru?subject=subscribe>
X-List-Received-Date: Fri, 20 Jun 2003 10:05:54 -0000
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Прокопьев Евгений wrote
> Какая утилита позволяет узнать, сколько строк в текстовом файле? Была
> вроде такая, не могу вспомнить название.
wc -l
--
Best Regards! | Когда вам платят за работу, надо по крайней мере
Alexey Voinov | делать вид, что вы работаете...
| Б.Виан "Осень в Пекине"
voins@voins.program.ru
vns@altlinux.ru
--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+8tws3FGE/YJu+jkRAmbEAJ9fmDmZdgOuoJPnhFnoiQOwIua9nwCfZJmg
FaCVnhGvX9W+vMerl4zBTDY=
=clMi
-----END PGP SIGNATURE-----
--3MwIy2ne0vdjdPXF--
>From mrbond@itc.nstu.ru Fri Jun 20 14:06:42 2003
Return-Path: <mrbond@itc.nstu.ru>
Delivered-To: community@lrn.ru
Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235])
by lrn.ru (Postfix) with ESMTP id C6481493F4
for <community@lrn.ru>; Fri, 20 Jun 2003 14:06:28 +0400 (MSD)
Received: from alfa.itc.nstu.ru (alfa.itc.nstu.ru [193.125.2.40])
by master.altlinux.ru (Postfix) with ESMTP id 5986BE31CF
for <community@altlinux.ru>; Fri, 20 Jun 2003 14:06:28 +0400 (MSD)
Received: from alfa.itc.nstu.ru (alfa.itc.nstu.ru [193.125.2.40])
by alfa.itc.nstu.ru (Postfix) with SMTP id 13C1083D
for <community@altlinux.ru>; Fri, 20 Jun 2003 17:06:22 +0700 (NOVST)
Date: Fri, 20 Jun 2003 17:06:21 +0700
From: Alexei Bayguzov <mrbond@itc.nstu.ru>
To: community@altlinux.ru
Subject: Re: [Comm] =?KOI8-R?Q?=F3=CB=CF=CC=D8=CB=CF_=D3=D4=D2=CF=CB_=D7_?=
=?KOI8-R?Q?=C6=C1=CA=CC=C5=3F?=
Message-Id: <20030620170621.53d1f9d0.mrbond@itc.nstu.ru>
In-Reply-To: <3EF2D9E6.80005@rmts.donpac.ru>
References: <3EF2D9E6.80005@rmts.donpac.ru>
Organization: ITC NSTU
X-Mailer: Sylpheed version 0.9.1 (GTK+ 1.2.10; i586-alt-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: 8bit
X-BeenThere: community@altlinux.ru
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: community@altlinux.ru
List-Id: <community.altlinux.ru>
List-Unsubscribe: <http://www.altlinux.ru/mailman/listinfo/community>,
<mailto:community-request@altlinux.ru?subject=unsubscribe>
List-Archive: </pipermail/community>
List-Post: <mailto:community@altlinux.ru>
List-Help: <mailto:community-request@altlinux.ru?subject=help>
List-Subscribe: <http://www.altlinux.ru/mailman/listinfo/community>,
<mailto:community-request@altlinux.ru?subject=subscribe>
X-List-Received-Date: Fri, 20 Jun 2003 10:06:44 -0000
On Fri, 20 Jun 2003 13:54:46 +0400
Прокопьев Евгений <john@rmts.donpac.ru> wrote:
>
> Здравствуйте!
>
> Какая утилита позволяет узнать, сколько строк в текстовом файле? Была
> вроде такая, не могу вспомнить название.
>
wc?
С уважением,
Алексей
----------------------------------------
Alexei V. Bayguzov
E-mail: mrbond@itc.nstu.ru
----------------------------------------
>From gtubolcev@newmail.ru Fri Jun 20 14:07:28 2003
Return-Path: <gtubolcev@newmail.ru>
Delivered-To: community@lrn.ru
Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235])
by lrn.ru (Postfix) with ESMTP id 25E3E4998F
for <community@lrn.ru>; Fri, 20 Jun 2003 14:07:28 +0400 (MSD)
Received: from flock1.newmail.ru (flock1.newmail.ru [212.48.140.157])
by master.altlinux.ru (Postfix) with SMTP id 1CF44E31CF
for <community@altlinux.ru>; Fri, 20 Jun 2003 14:07:28 +0400 (MSD)
Received: (qmail 19707 invoked from network); 20 Jun 2003 10:07:17 -0000
Received: from unknown (HELO localhost.localdomain)
(gtubolcev@newmail.ru@62.134.68.79)
by smtpd.newmail.ru with SMTP; 20 Jun 2003 10:07:17 -0000
Date: Fri, 20 Jun 2003 12:05:47 +0200
From: Grigory Tuboltsev <gtubolcev@newmail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] =?KOI8-R?Q?=F3=CB=CF=CC=D8=CB=CF_=D3=D4=D2=CF=CB_=D7_?=
=?KOI8-R?Q?=C6=C1=CA=CC=C5=3F?=
In-Reply-To: <3EF2D9E6.80005@rmts.donpac.ru>
References: <3EF2D9E6.80005@rmts.donpac.ru>
X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i586-alt-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: 8bit
Message-Id: <20030620100728.1CF44E31CF@master.altlinux.ru>
X-BeenThere: community@altlinux.ru
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: community@altlinux.ru
List-Id: <community.altlinux.ru>
List-Unsubscribe: <http://www.altlinux.ru/mailman/listinfo/community>,
<mailto:community-request@altlinux.ru?subject=unsubscribe>
List-Archive: </pipermail/community>
List-Post: <mailto:community@altlinux.ru>
List-Help: <mailto:community-request@altlinux.ru?subject=help>
List-Subscribe: <http://www.altlinux.ru/mailman/listinfo/community>,
<mailto:community-request@altlinux.ru?subject=subscribe>
X-List-Received-Date: Fri, 20 Jun 2003 10:07:29 -0000
> Какая утилита позволяет узнать, сколько строк в текстовом файле? Была
> вроде такая, не могу вспомнить название.
man wc
wc -l < file.txt
Enjoy...
>From raorn@immo.ru Fri Jun 20 14:13:54 2003
Return-Path: <raorn@immo.ru>
Delivered-To: community@lrn.ru
Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235])
by lrn.ru (Postfix) with ESMTP id C520049176
for <community@lrn.ru>; Fri, 20 Jun 2003 14:13:54 +0400 (MSD)
Received: from proxy.inform-mobil.ru (unknown [195.170.60.18])
by master.altlinux.ru (Postfix) with ESMTP id 9E686E31D8
for <community@altlinux.ru>; Fri, 20 Jun 2003 14:13:54 +0400 (MSD)
Received: from drweb by proxy.inform-mobil.ru with drweb-scanned (Exim 3.36
#1) id 19TIu2-0006qW-00
for community@altlinux.ru; Fri, 20 Jun 2003 14:13:54 +0400
Received: from inferno.immo ([192.168.0.64])
by proxy.inform-mobil.ru with esmtp (Exim 3.36 #1)
id 19TIu2-0006qH-00
for community@altlinux.ru; Fri, 20 Jun 2003 14:13:54 +0400
Received: from inferno.immo (localhost.localdomain [127.0.0.1])
by inferno.immo (8.12.9/8.12.5) with ESMTP id h5KADr3p020331
for <community@altlinux.ru>; Fri, 20 Jun 2003 14:13:54 +0400
Received: (from raorn@localhost)
by inferno.immo (8.12.9/8.12.9/Submit) id h5KADrjp020330
for community@altlinux.ru; Fri, 20 Jun 2003 14:13:53 +0400
Date: Fri, 20 Jun 2003 14:13:53 +0400
From: "Alexey I. Froloff" <raorn@immo.ru>
To: community@altlinux.ru
Subject: Re: [Comm] =?koi8-r?B?88vPzNjLzyDT1NLP?=
=?koi8-r?B?yyDXIMbByszFPw==?=
Message-ID: <20030620101353.GL2084@inferno.immo>
Mail-Followup-To: community@altlinux.ru
References: <3EF2D9E6.80005@rmts.donpac.ru>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="sdEQJo40s7ofW8iR"
Content-Disposition: inline
In-Reply-To: <3EF2D9E6.80005@rmts.donpac.ru>
User-Agent: Mutt/1.4.1i
X-Envelope-To: community@altlinux.ru
X-BeenThere: community@altlinux.ru
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: community@altlinux.ru
List-Id: <community.altlinux.ru>
List-Unsubscribe: <http://www.altlinux.ru/mailman/listinfo/community>,
<mailto:community-request@altlinux.ru?subject=unsubscribe>
List-Archive: </pipermail/community>
List-Post: <mailto:community@altlinux.ru>
List-Help: <mailto:community-request@altlinux.ru?subject=help>
List-Subscribe: <http://www.altlinux.ru/mailman/listinfo/community>,
<mailto:community-request@altlinux.ru?subject=subscribe>
X-List-Received-Date: Fri, 20 Jun 2003 10:13:55 -0000
--sdEQJo40s7ofW8iR
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
* Прокопьев Евгений <john@rmts.donpac.ru> [030620 14:11]:
> Какая утилита позволяет узнать, сколько строк в текстовом
> файле? Была вроде такая, не могу вспомнить название.
wc (Word Count, а не то что вы подумали ;-)
--
Regards, Sir Raorn.
-------------------
Нет, не забросил. Я его специально не собираю.
-- rider in devel@
--sdEQJo40s7ofW8iR
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+8t5hVqT7+fkT8woRAmZpAJ9sWrGwaEEVSA5t3d5dVBnZtMfyGQCeNFiG
8oustWuVpxMp0eUrKr/KBHM=
=ioiC
-----END PGP SIGNATURE-----
--sdEQJo40s7ofW8iR--
^ permalink raw reply [flat|nested] 2+ messages in thread