10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I want to create output file which is having entries from source file in single line
a.txt
<output type="event">
<moduleId>abc</moduleId>
<errorCode>963016</errorCode>
<text>Test1</text>
</output>
... (2 Replies)
Discussion started by: aaysa123
2 Replies
2. Shell Programming and Scripting
Input file
G A
G A,T
A C
A G,T,C
T C
.
.
Desired Output file
G A
G A
G T
A C
A G
A T
A C
T C (4 Replies)
Discussion started by: perl_beginner
4 Replies
3. Shell Programming and Scripting
Hi,
I have urls in my input file like this
http://unix.com/abc/def
http://unix.com/kil/min
I want to use the / as separator and print the last content as another column like this
http://unix.com/abc/def def
http://unix.com/kil/min min
I was using awk -F option and then joining the... (3 Replies)
Discussion started by: jacobs.smith
3 Replies
4. Shell Programming and Scripting
Hi All,
I would like to print the content from the specific line of a file .
For example... i have file abc.txt which has 100 lines of code ,from this file i would like to print the content from 20,19,18th line......like that
Regards
Srikanth (4 Replies)
Discussion started by: srikanthg
4 Replies
5. Shell Programming and Scripting
I need to change the content of the line after I grep it.
The line is :
Date SNWD.I-1 (in) WTEQ.I-1 (in) PREC.I-1 (in) TOBS.I-1 (degC) TMAX.D-1 (degC) TMIN.D-1 (degC) TAVG.D-1 (degC)
I want to change the second column (SNWD.I-1(in)) to SNWD.I-1(m), how could I do that?
I use csh... (2 Replies)
Discussion started by: handsonzhao
2 Replies
6. Shell Programming and Scripting
Hey,
I am gettin a bit crazy with my script. I have several input datas with the same name (5.ill) in different folders (daysim_01, daysim_02, etc.). The 4. column of each of the data has to be summed with each other and then hass to be written in one new file.
So file1:
1 1 0 1
2 1 1 2 ... (7 Replies)
Discussion started by: ergy1983
7 Replies
7. UNIX for Advanced & Expert Users
Hi,
I need help. I have XML file as below
<a n="infoLevel">
<v s="true"/>
</a>
<a n="localAddr">
<v s="server.host.com"/>
</a>
<a n="ListenPort">
<v s="21111"/>
</a>
I need to find variable "ListenPort" in line and then replace... (4 Replies)
Discussion started by: rdtrivedi
4 Replies
8. Shell Programming and Scripting
Input file:
Germany 10 500 5000
Germany 20 500 5000
Germany 50 10 500
England 5 10 25
USA 30 25 55
USA 20 35 90
Japan 2 5 60
Singapore 50 30 90
Singapore 150 230 290
Output file:
Germany 10 500 5000
Germany 20 500 5000
Germany 50 10 500
England 5 10 25 (7 Replies)
Discussion started by: patrick87
7 Replies
9. Shell Programming and Scripting
Hi Experts,
I have binary files contain an ID Line as:
:
:
$Header: FNDSCMON.fmb 115.6 2000/01/11 10:26:10 pkm ship$
:
:
where the ID Line format is:
$Header: <File_Name> <Version> <Last_update_date_time> pkm ship$
In this Example:
File_Name = FNDSCMON.fmb
Version = 115.6... (13 Replies)
Discussion started by: victorcheung
13 Replies
10. Shell Programming and Scripting
Hello -
I have a file that has the something like the following :
REM CREATE TABLE lots of text
REM table specifc creation text ;
REM ALTER TABLE lots of text
REM text specific to the the alter command
REM could be more lines of text;
What I need is to get all the lines for the ALTER... (2 Replies)
Discussion started by: Feliz
2 Replies