I have a requirement to transpose the below xml which is in a text file on unix:
<?xml version="1.0" ?>
<REQUEST>
<ID>XXX</ID>
<TIMESTAMP>20090720062610</TIMESTAMP>
<FLAG>Y</FLAG>
<TO_FLAG>Y</TO_FLAG>
</REQUEST>
to
<?xml version="1.0"... (13 Replies)
Hi ALL
I have one input file say FILE1 which looks as below.
a=1
b=2
c=3
a=4
b=5
c=6
.
.
.
Here a,b,c...etc are variable names.
The output file(FILE2) should look like
1,2,3
4,5,6
.....
..... (5 Replies)
Hello,
Can anyone advise me what command I could use to display the results of the following command
ATOM 1 ca 2 o 3 h 4 h 5 o
dE/dx 0.2057422D-01 0.2463722D-01-0.1068047D-01-0.1495280D-01-0.3725362D-02
dE/dy -0.7179106D-02-0.1554542D-01 0.1016889D-01 0.3268502D-02-0.4888578D-01
dE/dz... (3 Replies)
TRANSPOSE
--------------------------------------------------------------------------------
i have a file with recurring fields
Start
A 1
B 2
C 3
D 4
E 5
End
Start
A 11
B 12
C 23
D 25
E 21 (1 Reply)
Dear All
I was wondering how to resolve an issue that I met during my analysis. In particular I have a file like this(tab separated):
factor1 element1 chr1 309343146 330945480 1 protein_coding geneA
factor2 element2 chr2 309350853 309603230 1 protein_coding geneA
factor3 element3 chr3... (2 Replies)
Hi all,
need a help with getting a one line command to do the following.
i have an input file with rows of data containing credits for each office, the output should be one row for each office with all the credits in rows for that office, if its not there then it should say N/A. the credits are... (10 Replies)
Discussion started by: tech_frk
10 Replies
LEARN ABOUT DEBIAN
grdcut
GRDCUT(l) GRDCUT(l)
NAME
grdcut - Extract a subregion out of a .grd file
SYNOPSIS
grdcut input_file.grd -Goutput_file.grd -Rwest/east/south/north[r] [ -V ]
DESCRIPTION
grdcut will produce a new output_file.grd file which is a subregion of input_file.grd. The subregion is specified with
-Rwest/east/south/north as in other programs; the specified range must not exceed the range of input_file.grd. If in doubt, run grdinfo to
check range. Complementary to grdcut there is grdpaste, which will join together two grdfiles along a common edge.
input_file.grd
this is the input .grd format file.
-Goutput_file.grd
this is the output .grd format file.
-R west, east, south, and north specify the Region of interest. To specify boundaries in degrees and minutes [and seconds], use the
dd:mm[:ss] format. Append r if lower left and upper right map coordinates are given instead of wesn. This defines the subregion to
be cut out.
OPTIONS -V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"].
EXAMPLES
Suppose you have used surface to grid ship gravity in the region between 148E - 162E and 8N - 32N, and you do not trust the gridding near
the edges, so you want to keep only the area between 150E - 160E and 10N - 30N, then:
grdcut grav_148_162_8_32.grd -Ggrav_150_160_10_30.grd -R150/160/10/30 -V
SEE ALSO grdpaste(1gmt), grdinfo(1gmt), gmt(1gmt)
1 Jan 2004 GRDCUT(l)