7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am having data in XML format and trying to extract codes form two fields called <String>, below is the data.
<Node>tollfree<Condition>BooleanOperator<Operation>AND</Operation><Condition>BooleanOperator<Operation>NOT</Operation><Condition>FieldSelection<Field Context="ALL fields"... (7 Replies)
Discussion started by: rramkrishnas
7 Replies
2. Shell Programming and Scripting
HI All,
I would like to pass a integer and get all values under this index the by using awk. Could anyone help?
Thanks :>
input:
1,2,3,4,5,6,7
1,2,3,48,5,6,7
1,2,3,4,5,6,7
e.g. i pass 4 to awk command
output:
4
48
4
Video tutorial on how to use code tags in The UNIX and Linux... (8 Replies)
Discussion started by: mimilaw
8 Replies
3. Shell Programming and Scripting
1 2 000060000
How do i return the point in the string where the 6 is?
i.e what I want on output is
1 2 5
something like awk '{print $1 $2 index($3,6) }'
but I can't get it to work
Thanks in advance (3 Replies)
Discussion started by: garethsays
3 Replies
4. Shell Programming and Scripting
Hi All,
I have a file (FileNames.txt) which contains the following data in it.
$ cat FileNames.txt
MYFILE17XXX208Sep191307.csv
MYFILE19XXX208Sep192124.csv
MYFILE20XXX208Sep192418.csv
MYFILE22XXX208Sep193234.csv
MYFILE21XXX208Sep193018.csv
MYFILE24XXX208Sep194053.csv... (5 Replies)
Discussion started by: krish_indus
5 Replies
5. UNIX for Dummies Questions & Answers
brothers why inode index starts from 1 unlike array inex which starts from 0
its a question from the design of unix operating system of maurice j.bach
i need to know the answer urgently...someone help please (1 Reply)
Discussion started by: sairamdevotee
1 Replies
6. Filesystems, Disks and Memory
why do inode indices starts from 1 unlike array indexes which starts from 0
its a question from "the design of unix operating system" of maurice j bach
id be glad if i get to know the answer quickly
:) (0 Replies)
Discussion started by: sairamdevotee
0 Replies
7. Shell Programming and Scripting
hi, :)
In a shell script i came accross the following lines
1.for i in ` find /home/oracle -name ch'
2.do
3.echo $i
4.idx=`expr index $i .`
5.done
Here iam not able to understand the porpose of the word "index" in line 4.
any help ?
cheers
RRK (3 Replies)
Discussion started by: ravi raj kumar
3 Replies
imgsc(1) General Commands Manual imgsc(1)
Name
imgsc - Find HST GSC stars in FITS or IRAF image files
Synopsis
imgsc [options] FITS or IRAF file(s)
Description
Search the HST Guide Star Catalog withing the area described by the world coordinate system in an image header. This is a link to imcat
rather than a separate executable.
Options
-b [<RA> <Dec>]
Output in B1950, optional new image center in B1950 (FK4) RA and Dec
-c <name>
Reference catalog (gsc, ujc, or tab table file
-g <class>
Guide Star Catalog class (-1=all,0,3 (default -1)
-h Print heading, else do not
-j [<RA> <Dec>]
Output in J2000, optional new image center in J2000 (FK5) RA and Dec
-m [<bright magnitude>] <faint magnitude>
Limiting catalog magnitude(s) (default none, bright -2 if only faint is given)
-n <num>
Number of brightest stars to print
-p <scale>
Initial plate scale in arcsec per pixel (default 0)
-s Sort by RA instead of flux
-t Tab table to standard output as well as file
-v Verbose listing of processing intermediate results
-w Write tab table output file imagename.cat -z Use AIPS classic projections instead of WCSLIB; use CD matrix or CDELT instead of poly-
nomial solution.
See Also
imcat(),imuac(),imusac(),scat()
Author
Doug Mink, SAO (dmink@cfa.harvard.edu)
14 April 1998 WCS imgsc(1)