How to segregate a section from big file?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to segregate a section from big file?
# 8  
Old 12-01-2018
Quote:
Originally Posted by solaris_1977
... I am able to achieve my purpose ...

Does that mean your problem is solved?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Segregate file content using sed backreference

I have some text like EU1BTDAT:ASSGNDD filename='$SEQFILES/SUNIA.PJ008202.CARDLIB/DATECARD' EU1BTDATEST:ASSGNDD filename='$SEQFILES/SUNIA.PJ008202.CARDLIB/DATECARD' EU1CLOSEDATES:ASSGNDD filename='$SEQFILES/SUNIA.PJ008202.CARDLIB/DATECARD' EU1DATED:ASSGNDD... (8 Replies)
Discussion started by: gotamp
8 Replies

2. Shell Programming and Scripting

Segregate by suffixed file names using Korn Shell

I have following files at /dir1 a.csv.20131201 b.csv.20131201 c.csv.20131201 d.csv.20131201 a.csv.20131202 b.csv.20131202 c.csv.20131202 d.csv.20131202 ....................... ....................... ....................... ....................... I need to move these files to... (4 Replies)
Discussion started by: JaisonJ
4 Replies

3. Shell Programming and Scripting

How can i segregate?

I have this file which contains 91886,000,MiniC2-00,1.9.12,aML,en 91886,000,MiniC2-00,1.9.12,aML,en 91886,000,MiniC2-00,1.9.12,aML,en 91886,000,MiniC2-00,1.9.12,aML,en 91886,000,MiniC2-00,1.9.12,aML,en 91886,000,MiniC2-00,1.9.12,aML,en 91886,000,MiniC2-00,3.0,aML,en... (6 Replies)
Discussion started by: nikhil jain
6 Replies

4. Shell Programming and Scripting

Fetch a section from a file

Hi, I have a file like... $cat file1 +++++++++++++++++++ client1 +++++++++++++++++++++++++++++ col1 col2 col3 ------ ----- ----- (0 rows affected) ========================================================= +++++++++++++++++++ client1 +++++++++++++++++++++++++++++ col1 col2 col3... (6 Replies)
Discussion started by: sam05121988
6 Replies

5. Shell Programming and Scripting

Delete a section of a file if...

i have a file as below that has n section : 2006 0101 1236 49.3 L 37.902 48.482 0.0 Teh 5 0.2 2.7LTeh 1 GAP=238 E Iranian Seismological Center, Institute of Geophysics, University of Tehran 6 ... (5 Replies)
Discussion started by: oreka18
5 Replies

6. Shell Programming and Scripting

Extract section of file based on word in section

I have a list of Servers in no particular order as follows: virtualMachines="IIBSBS IIBVICDMS01 IIBVICMA01"And I am generating some output from a pre-existing script that gives me the following (this is a sample output selection). 9/17/2010 8:00:05 PM: Normal backup using VDRBACKUPS... (2 Replies)
Discussion started by: jelloir
2 Replies

7. UNIX for Dummies Questions & Answers

How big is too big a config.log file?

I have a 5000 line config.log file with several "maybe" errors. Any reccomendations on finding solvable problems? (2 Replies)
Discussion started by: NeedLotsofHelp
2 Replies

8. Shell Programming and Scripting

segregate the file based on matching patterns

print 'test' SETUSER 'dbo' go create proc abc as /Some code here/ go SETUSER go print 'test1' SETUSER 'dbo' go Create Procedure xyz as /some code here/ go SETUSER go print 'test2' SETUSER 'dbo' (2 Replies)
Discussion started by: mad_man12
2 Replies

9. Shell Programming and Scripting

cutting a section of a big file

Hi, I have a text file 10giga size. Opening the file with vi takes forever ... Im intersting only with the 100 first records. Is there way to copy those 100 lines to new file (with no need to open the file)? Thanks (6 Replies)
Discussion started by: yoavbe
6 Replies

10. UNIX for Dummies Questions & Answers

How to view a big file(143M big)

1 . Thanks everyone who read the post first. 2 . I have a log file which size is 143M , I can not use vi open it .I can not use xedit open it too. How to view it ? If I want to view 200-300 ,how can I implement it 3 . Thanks (3 Replies)
Discussion started by: chenhao_no1
3 Replies
Login or Register to Ask a Question
setpix(1)						      General Commands Manual							 setpix(1)

Name
       setpix - Set FITS or IRAF image values

Synopsis
       setpix [-vn] file.fts [x_range y_range value] [@valuefile]

Description
       Set  a  specified  pixel  or  range of pixels in a FITS or IRAF image to a specified value. More than one range of pixels and values may be
       specified on one command line. A file of xrange yrange value triplets may be used to set multiple regions at once. The image may  be  over-
       written or a new image created.

Options
       filename
	      Name of IRAF image header file or FITS file. This must be present.

       @coordfile
	      Name of file containing lines of the format
		       xrange  yrange  value  where  xrange  and  yrange are of the format n or n-n or n,n,n or n-n,n-n and value my be integer or
	      floating point.  value will be converted to the type of the image. If a range is 0, the entire row or column specified by the  other
	      non-zero	range  will  be  set to the indicated value. If both ranges are zero, the entire image will be set to the specified value.
	      New in version 2.6.4.

       xrange yrange value
	      Image coordinate x and y ranges and the value to which that region will be set. Either one of these triplets or a file of  triplets,
	      specified by @filename, must be present. xrange and yrange are of the format n or n-n or n,n,n or n-n,n-n and value my be integer or
	      floating point. value will be converted to the type of the image. If a range is 0, the entire row or column specified by	the  other
	      non-zero	range  will  be  set to the indicated value. If both ranges are zero, the entire image will be set to the specified value.
	      Ranges new in version 2.6.4.

       -a <number>
	      Add constant to pixels

       -d <number>
	      Divide pixels by constant

       -i     List each line which is dropped

       -m <number>
	      Multiply pixels by constant

       -n     Write the output to a new file which is named by inserting an e before the file extension. The new file is  always  written  to  the
	      current working directory.

       -s <number>
	      Subtract constant from pixels

       -v     Print more information about the process

Author
       Doug Mink, SAO (dmink@cfa.harvard.edu)

6 July 2001							     WCSTools								 setpix(1)