Sponsored Content
Full Discussion: numbering of process
Top Forums UNIX for Dummies Questions & Answers numbering of process Post 11755 by Neo on Tuesday 11th of December 2001 06:26:30 PM
Old 12-11-2001
Sequentially, from from 1 (I think!) to 2^16. Then it stars all over again (if the PID is not in use...)
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Numbering!

Just a shot question... how to make 1,2,3,...999 into the form of 001,002,003....999 (3 digits) Thanks.... (9 Replies)
Discussion started by: biglemon
9 Replies

2. Shell Programming and Scripting

Numbering

I'm trying to do a script that will look for a log file if it is already there change the name to another name. I.E if log.0 is there rename to log.1 rename log.1 to log.2 rename log.2 to log.3 and so on. Only thing is I got no idea where or what is the best command to use for this? ... (3 Replies)
Discussion started by: merlin
3 Replies

3. Shell Programming and Scripting

Numbering lines in a file

Hi all, I need to number the lines in a file. I tried using "set nu" in the vi editor, but it is only temporary. Can anyone help me please. Thanx in advance. MK (4 Replies)
Discussion started by: minazk
4 Replies

4. UNIX for Advanced & Expert Users

numbering blanks

hello i'm trying to figure out how to number a blank line. For instance this : sed '/./=' file | sed '/./N; s/\n/ /' gives me 1 aaaa 2 bbbbbb 4 cccccc 5 ffkkkfff 6 ffsdfdfs I would like something like this: 1 aaaaa 2 3 bbbbbb 4 5 cccccc And so... (6 Replies)
Discussion started by: wisher115
6 Replies

5. Shell Programming and Scripting

Numbering Lines

Hello everyone, I want get numbered lines from a file. and i can do it with: sed = file.txt | sed "/./N; s/\n/ /" | sed -n "5,7p" but the output that i get is something similar to: 5 line5 6 line6 7 line7 and i want something like this (with 2points after the number): 5:... (6 Replies)
Discussion started by: vibra
6 Replies

6. Shell Programming and Scripting

Numbering duplicates

Hi, I have this large file and sometimes there are duplicates and I want to basically find them and figure how many there are. So I have a file with multiple columns and the last column (9) has the duplicates. eg. yan tar tar man ban tan tub tub tub Basically what I want to... (6 Replies)
Discussion started by: kylle345
6 Replies

7. UNIX for Dummies Questions & Answers

Numbering the rows

If I a list of components, is there anyway to number (like automatically have: 1,2,3,...) the rows of my data? (1 Reply)
Discussion started by: cosmologist
1 Replies

8. Shell Programming and Scripting

help with numbering a file

Hi, All I need to do is number a file. The file looks like this > JJJJJJJJJJJJJJJJJJJJJ > JKJKJKKKKKKJJJ > MMMMYKKKJKKK what I want to do is number it so that theres a numerical value beside the >. >1 JJJJJJJJJJJJJJJJJJJJJ >2 JKJKJKKKKKKJJJ (2 Replies)
Discussion started by: kylle345
2 Replies

9. Shell Programming and Scripting

Incremental numbering?

Would it be possible for a script to duplicate a file and incrementally number it? File in: XXX_007_0580_xxxx_v0016.aep File out: XXX_007_0580_xxxx_v0017.aep If someone knows of a way I'd love to see it. Thanks! (7 Replies)
Discussion started by: scribling
7 Replies

10. Shell Programming and Scripting

Numbering by field

I'm not really sure how to explain this but I will try. In the attached file if $4=$4 and $5="-" then the last record is 1 and the one above that is 2, etc... However, $4=$4 and $5="-" then the first record is 1 and the one below that is 2, etc... "-" example: chr10 90694830 90695123... (7 Replies)
Discussion started by: cmccabe
7 Replies
imstar(1)						      General Commands Manual							 imstar(1)

Name
       imstar - Find stars in FITS and IRAF image files

Synopsis
       imstar  [options] [FITS or IRAF filename] or [@file of image file names]

Description
Options
       <hh:mm:ss> <dd:mm:ss> [J2000, B1950]
	      Coordinates for center (or reference pixel if -x is used).

       -a <angle>
	      Image  rotation  angle in degrees (default 0).  If multiple of 90, rotate image before search and set WCS angle to zero; if not, put
	      in WCS.

       -b     Output B1950 (FK4) coordinates (default=image equinox)

       -d <catalog name>
	      Read this DAOFIND style catalog of X, Y, and magnitude instead of searching for stars in the image.  The	format	is  simply  white-
	      space-separated numbers on a line, with # at the beginning of comment lines.

       -e <num>
	      Number of pixels to ignore around image edge

       -f     Write  a	simple ASCII catalog file instead of tab table or DAOFIND format (number RA DEC mag ... per line, with two lines of header
	      info)

       -h     Print heading, else do not

       -i <num>
	      Minimum peak value for star in image (<0=-sigma) Setting this to reject all but 10-15 stars is a good way to speed up the star-find-
	      ing process.  If num is less than zero, the minimum peak is -num image pixel standard deviations.  Setting this number rejects faint
	      stars early in the selection process for a significant saving in computing time.

       -j     Output J2000 (FK5) coordinates (default=image equinox)

       -k     Print each star as it is found for debugging

       -l     Reflect the image left <-> right before rotating (-a) and searching for stars.

       -m <magnitude>
	      Magnitude offset

       -n     Number of brightest stars to print

       -o     Output star list in DAOFIND format.  The first three numbers on each line of the output file are X, Y, and magnitude,  separated	by
	      one or more blanks or a tab.  Lines beginning with # are ignored.

       -p <num>
	      Plate scale in arcsec per pixel (default 0)

       -q <c|d|o|s|x|v|+>
	      Output  region  file  shape for SAOimage (default o) Characters mean: c>ross, d>iamond, s>quare, o>circle, x=X, v>ary with GSC type,
	      +>cross.

       -r     Maximum radius for star in pixels

       -s     Sort by RA instead of flux

       -t     Output in Starbase tab table format

       -v     Verbose listing of processing intermediate results

       -w     Write output to a file in addition to standard out.  If DAO format (-o), create the name by adding .dao to the image file name.	If
	      Starbase format (-t), create the name by adding .tab to the image file name.  If ASCII format (-f), create the name by adding .stars
	      to the image file name.

       -x <X> <Y>
	      X and Y coordinates of reference pixel (if not in header or image center)

       -z     Use AIPS classic projection code (for "-SIN", "-TAN", "-ARC", "-NCP", "-GLS", "-MER", "-AIT" and "-STG" only) instead of WCSLIB pro-
	      posed standard projection code.

Web Page
       http://tdc-www.harvard.edu/software/wcstools/imstar/

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

6 July 2001							     WCSTools								 imstar(1)
All times are GMT -4. The time now is 09:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy