Sponsored Content
Top Forums Shell Programming and Scripting script for remove descending order number Post 302557805 by nithyanandan on Thursday 22nd of September 2011 06:42:21 AM
Old 09-22-2011
script for remove descending order number

hi all
i want to remove some descending order number

example :
Code:
1        100  200 135.00   Gk_wirs   1
               1        100 200  136.00   Gk_wirs   50
               1        110 210  138.00   Gk_wirs   60 
               1        100 200  136.00   Gk_wirs   57  ----> how to remove this line
 #
               2        200  400 135.00   Gk_wirs   1
               2        200  400 135.00   Gk_wirs   45
               2        200  400 135.00   Gk_wirs   651
               2        200  400 135.00   Gk_wirs   120  ----> how to remove this line 
                2        200  400 135.00   Gk_wirs   4550
#

..........................
..........................

up to 200000 set of lines r there

any one help me to remove descending order line using script

Last edited by Scott; 09-22-2011 at 08:01 AM.. Reason: Please use code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to see disk usage in descending order

What is the command used by sysadmin to see the disk used by the users in descending order of their disk usage? (8 Replies)
Discussion started by: asutoshch
8 Replies

2. Shell Programming and Scripting

filter and get the latest order number

hello, how can I filter and get the latest order number (last five digits) below: input file: johnmm00001 maryyy00121 johnm100222 johnmm00003 maryyy00122 output file: johnmm00003 maryyy00122 johnm100222 (6 Replies)
Discussion started by: happyv
6 Replies

3. Shell Programming and Scripting

Ascending & Descending order numbers

Dear All, I have below attached file in which i have many nos, i want the last ascending order nos. The brief description is given below. File 315 381 432 315 381 432 315 381 432 315 381 432 315 381 432 (6 Replies)
Discussion started by: pravani1
6 Replies

4. UNIX for Dummies Questions & Answers

Help - Find command with list of files modified descending Order

Hi, I would like to know the command to get the files order in descending order with "FIND" command. Appreciate your help Thanks (4 Replies)
Discussion started by: TonySolarisAdmi
4 Replies

5. Shell Programming and Scripting

Regarding about the print line number/order

Hello, I am trying to print line number/order using this command awk '{print $0, FNR}' myfilename 11006 A41 1888 11006 A41 1888 11006 A41 1888 11006 A41 ... (2 Replies)
Discussion started by: davidkhan
2 Replies

6. UNIX for Dummies Questions & Answers

how to list descending order

Hi, I want to short descending all the files according to their size.Please help me.. (1 Reply)
Discussion started by: jyotidas
1 Replies

7. Shell Programming and Scripting

Help with sort data based on descending order problem

Input file 9.99331e-13 8.98451e-65 9.98418e-34 7.98319e-08 365592 111669 74942.9 0 Desired output 365592 111669 74942.9 7.98319e-08 1.99331e-13 6.98418e-34 (2 Replies)
Discussion started by: perl_beginner
2 Replies

8. UNIX for Dummies Questions & Answers

Sorting a file in descending order when you have 10e- values

Hi, I am trying to sort the following file in descending order of its fourth column. 2 1 363828 -2.423225e-03 3 1 363828 4.132763e-03 3 2 363828 8.150133e-03 4 1 363828 4.126890e-03 I use sort -k4,4g -r input.txt > output.txt ... (1 Reply)
Discussion started by: evelibertine
1 Replies

9. Shell Programming and Scripting

How to remove no max value and order?

How do I remove maxvalue and noorder? I've a list of files with the following similar content Prompt Sequence SEQ_AD_ID; CREATE SEQUENCE SEQ_AD_ID START WITH 1 MAXVALUE 1000000000000 MINVALUE 1 NOCYCLE CACHE 10 NOORDER; to Prompt Sequence SEQ_AD_ID; CREATE... (2 Replies)
Discussion started by: jediwannabe
2 Replies

10. Shell Programming and Scripting

How to sort list of directories in descending order in perl?

Hi, I have a problem . I have few directories like inpTDT_1, inpTDT_2, inpTDT_3 and so on inside HOME directory . In one of my perl script (which is in my HOME), the above directories like inpTDT_1, inpTDT_2, inpTDT_3 are sorting out in an order So I wanted to sort all the inpTDT_1, inpTDT_2,... (1 Reply)
Discussion started by: venkatesh
1 Replies
IMAGERECTANGLE(3)							 1							 IMAGERECTANGLE(3)

imagerectangle - Draw a rectangle

SYNOPSIS
bool imagerectangle (resource $image, int $x1, int $y1, int $x2, int $y2, int $color) DESCRIPTION
imagerectangle(3) creates a rectangle starting at the specified coordinates. PARAMETERS
o $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $x1 - Upper left x coordinate. o $y1 - Upper left y coordinate 0, 0 is the top left corner of the image. o $x2 - Bottom right x coordinate. o $y2 - Bottom right y coordinate. o $color - A color identifier created with imagecolorallocate(3). RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 Simple imagerectangle(3) example <?php // Create a 200 x 200 image $canvas = imagecreatetruecolor(200, 200); // Allocate colors $pink = imagecolorallocate($canvas, 255, 105, 180); $white = imagecolorallocate($canvas, 255, 255, 255); $green = imagecolorallocate($canvas, 132, 135, 28); // Draw three rectangles each with its own color imagerectangle($canvas, 50, 50, 150, 150, $pink); imagerectangle($canvas, 45, 60, 120, 100, $white); imagerectangle($canvas, 100, 120, 75, 160, $green); // Output and free from memory header('Content-Type: image/jpeg'); imagejpeg($canvas); imagedestroy($canvas); ?> The above example will output something similar to:[NOT DISPLAYABLE MEDIA]Output of example : Simple imagerectangle() example PHP Documentation Group IMAGERECTANGLE(3)
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy