From owner-freebsd-questions Fri Aug 2 10:41:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFB6B37B400 for ; Fri, 2 Aug 2002 10:41:21 -0700 (PDT) Received: from mail01ux.easyit.com.br (mail01ux.easyit.com.br [200.192.52.8]) by mx1.FreeBSD.org (Postfix) with SMTP id 5EB6143E4A for ; Fri, 2 Aug 2002 10:41:20 -0700 (PDT) (envelope-from falmeida@easyit.com.br) Received: (qmail 54364 invoked by uid 1006); 2 Aug 2002 17:41:14 -0000 Received: from gw01ux.easyit.com.br (HELO Presto) (200.192.52.66) by 0 with SMTP; 2 Aug 2002 17:41:13 -0000 Message-ID: <00a901c23a4b$a627a750$1a0e6bc0@Presto> Reply-To: "Fernando Costa de Almeida" From: "Fernando Costa de Almeida" To: Subject: Little Question Date: Fri, 2 Aug 2002 14:40:09 -0300 Organization: Computeasy Telecom MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I know that this question is more related to perl than FreeBSD, but.... Anyone knowns how can I count the number of bytes in STDIN in perl... Like: cat /kernel | ./checksize.pl and the script says: File has 50000 bytes.. Thanks in advance... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message