Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Linux / UNIX and the fly likes Get the size of selected lines in a text Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "Get the size of selected lines in a text" Watch "Get the size of selected lines in a text" New topic
Author

Get the size of selected lines in a text

yuga devi
Greenhorn

Joined: Aug 07, 2008
Posts: 22
Hi,

Is there any command to get the size of the selected lines in a file.

For ex, if the file contains the following:

Assigns a value to a variable for the awk command's programming language. The Assignment parameter is in the form of Name = Value. The Name portion specifies the name of the variable and can be any combination of underscores, digits, and alphabetic characters, but it must start with either an alphabetic character or an underscore.

I want to know the size of the lines, upto

Assigns a value to a variable for the awk command's programming language. The Assignment parameter is in the form of Name = Value. The Name portion specifies the name

Please help.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8441

ayd chn wrote:


Please check your private messages for an important administrative matter


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Get the size of selected lines in a text
 
Similar Threads
Sun Cirtification
retrieve value of a field
split function problem in AWK
Removing lines from file
using sed to chnage data in file