I have a text wich looks like this:
clid=2 cid=6 client_database_id=35 client_nickname=Peter client_type=0|clid=3 cid=22 client_database_id=57 client_nickname=Paul client_type=0|clid=5 cid=22 client_database_id=7 client_nickname=Mary client_type=0|clid=6 cid=22 client_database_id=6... (3 Replies)
Hi,
I want to extract some text between two strings in a line i am using following command i.e;
awk '/-string1/,/-string2/' filename
contents of file is---
line1
line2
aaa -bbb -ccc -string1 c,d,e -string2
line4
but it is showing complete line which is having searched strings.
aaa... (19 Replies)
I have the following lines in a log file. It would be great if some one can help me to create a new file with the just entries in the below format.
66.150.161.195 HPSAC=Z05
66.150.161.196 HPSAC=A05
That is just extract the IP address and the string DPSAC=its value
66.150.161.195 -... (1 Reply)
Hi,
Im having some problems with this. I have loaded a file with html code. All code is placed in the same line. I want to get everything between two given strings (including these strings and get only the first appearance).
Example:
File contains <html><body><a href='a.html'>abc</a><a... (5 Replies)
I have a file with multiple columns (in this case, the file has 3 columns): NM_001006304 (-33.7) XM_418228 (-38.4) JN880447 (-33.7)
CR387600 (-33.7) CR524203 (-36.3) GALGA_6AKII_KRT75 (-33.7)
GALGA25_SC7 (-31.9) CR352795 (-36.3) NM_204172 (-31.7)
NM_204137 (-31.9) NM_001030561 (-36.3)
AB011672... (7 Replies)
Hi,
I have a text like these:
ECHO "BEGGINING THE SHELL....."
MV FILE1 > FILE2
UNIQ_ID=${1}
PARTITION_1=`${PL}/Q${CON}.KSH "SELECT ....."
PARTITION_2=`${PL}/Q${CON}.KSH "SELECT ........"
${PL}/Q${CON}.KSH "CREATE ...."
IF ....
.......
I would like to extract only text that only... (4 Replies)
Dear all,
I have a data like below (n of rows=400,000) and I want to extract the rows with certain strings. I use code below. It works if there is not too many strings for example n of strings <5000. while I have 90,000 strings to extract. If I use the egrep code below, I will get error:
... (3 Replies)
Hello
i am stuck with this.
i have input which is as follows
/type/work /works/OL10627594W 3 2019-04-24T16:46:21.351549 {"created": {"type": "/type/datetime", "value": "2009-12-11T03:18:17.488715"}, "title": "Tog the dog", "covers": , "last_modified": {"type":... (3 Replies)
I am having the following output when executing a dig command :
dig @1.1.1.1 google.com +noall +answer +stats
; <<>> DiG 9.11.4-P1 <<>> @1.1.1.1 google.com +noall +answer +stats
; (1 server found)
;; global options: +cmd obodrm.prod.at.dmdsdp.com. 86154 IN A ... (1 Reply)
Discussion started by: liviusbr
1 Replies
LEARN ABOUT DEBIAN
immatch
IMMATCH(1) User Commands IMMATCH(1)NAME
immatch - AME
SYNOPSIS
[-vl] [-m mag] [-n frac] [-s mode] [-g class] [-h maxref] [-i peak]
DESCRIPTION
Match catalog to image stars from WCS in image file
[-c catalog] [-p scale] [-b ra dec] [-j ra dec] [-r deg] [-t tol] [-x x y] [-y frac] FITS or IRAF file(s)
-a ang: initial rotation angle in degrees (default 0)
-b: initial center in B1950 (FK4) RA and Dec
-c cat: reference catalog (gsc, uac, ujc, tab table file
-d cat: Use following DAOFIND output catalog instead of search
-f: Write output X Y RA Dec, instead of N RA Dec X Y
-g num: Guide Star Catalog class (-1=all,0,3 (default -1)
-h num: maximum number of reference stars to use (10-200, default 25
-i num: minimum peak value for star in image (<0=-sigma)
-j: initial center in J2000 (FK5) RA and Dec
-k: magnitude to use (1 to nmag)
-l: reflect left<->right before rotating and fitting
-mx m1[,m2]: initial reference catalog magnitude and limits
-p num: initial plate scale in arcsec per pixel (default 0)
-q: fit image to catalog magnitude polynomial(s)
-r ang: rotation angle in degrees before fitting (default 0)
-s frac: use this fraction extra stars (default 1.0)
-t tol: offset tolerance in pixels (default 20)
-u num: USNO catalog single plate number to accept
-v: verbose
-w: rotate image WCS with image
-x x y: X and Y coordinates of reference pixel (default is center)
-y num: multiply image dimensions by this for search (default is 1)
-z: use AIPS classic projections instead of WCSLIB
immatch 3.8.4 June 2012 IMMATCH(1)