Re: count for the lines
From: William Park (opengeometry_at_yahoo.ca)
Date: 02/28/04
- Previous message: William Park: "Re: safely iterating through potentially empty arrays in bash"
- In reply to: suraj kumar: "count for the lines"
- Next in thread: John W. Krahn: "Re: count for the lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2004 18:12:04 GMT
suraj kumar <suraj_c@hotmail.com> wrote:
> The content of the file is like that
>
> select * from Customers
> select * from Orders
> select * from Items
> Select * from Customers
> Select * from Customers
> select * from HRdata
> Select * from HRdata
>
> I want the output in such format
>
> select * from Customers 3
> select * from HRdata 2
> select * from Orders 1
> select * from Items 1
man uniq
-- William Park, Open Geometry Consulting, <opengeometry@yahoo.ca> Linux solution for data management and processing.
- Previous message: William Park: "Re: safely iterating through potentially empty arrays in bash"
- In reply to: suraj kumar: "count for the lines"
- Next in thread: John W. Krahn: "Re: count for the lines"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|