10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script I wrote that basically parses a bunch of config and xml files works out were to add in the new content then spits out the data into a new file.
It all works - apart from the xml and config file format in the new file
with XML files the original XML (that ends up in... (2 Replies)
Discussion started by: dfinch
2. Shell Programming and Scripting
I'm a novice at shell scripts and i need some help parsing file data.
Basically, I want to write a script that retrieves URLs.
Here is what I have so far.
echo "Please enter start date (format: yyyy-mm-dd):\c"
echo "Please enter end date... (7 Replies)
Discussion started by: silverdust
3. Shell Programming and Scripting
Below is the data:
--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
VG Name /dev/vg00
PV Status available
Cur LV 8
PE Size (Mbytes) 8
Total PE 4350
Free PE 2036
Allocated PE 2314
Stale PE 0
IO Timeout (Seconds) default
--- Physical volumes ---... (5 Replies)
Discussion started by: rveri
4. Shell Programming and Scripting
I do have a data file which is divided into compartments by ---------. I would like to extract (parse) some of the data and numbers either using awk or sed
The file has the format:
Best GO enrichment:
Genes/ORF that have the motifs (genes are sorted by max(pa+pd+po)):
... (6 Replies)
Discussion started by: Lucky Ali
5. Shell Programming and Scripting
I have below string
Transaction_ID:SDP-DM-151204679 , Transaction_DateTime:2011-02-11 00:00:15 GMT+05:30 , Transaction_Mode:WAP , Circle_ID:4 , Circle_Name:BJ ,Zone: , CustomerID:B_31563486 , MSISDN:7870904329 , IMSI:405876122068099 , IMEI: , Sub_Profile:Pre-Paid , CPID:Nazara , CPNAME:Nazara ,... (6 Replies)
Discussion started by: poweroflinux
6. Shell Programming and Scripting
I need to parse the following data in the given format and get the desired output. I need a function, which takes the input as a parameter and the desired output will be returned from the function.
INPUT(single parameter as complete string)
... (3 Replies)
Discussion started by: sumesh.1988
7. Shell Programming and Scripting
I have a requirement to create a Header &Trailer for a file which is having 20 millions of records.
If I use the following method, i think it will take more time.
cat "Header"> file1.txt
since second CAT command has to read all... (4 Replies)
Discussion started by: Raamc
8. Shell Programming and Scripting
Hi all , I have a file with billing CDR records in it. I need to parse that information (row format) . The purpose is to compare full content. The example I have given below is a single line record but it has two portions, (1) the line start with “!” and end with “188.8.131.52” and (2) second part... (5 Replies)
Discussion started by: jaygamini
9. Shell Programming and Scripting
Hi I need to parse the following data using shell script
Can anyone gimme the solution.
I want each value to get stored in an array or variable and want the value to be greped from another file.... (1 Reply)
Discussion started by: Archana.Dheepan
10. Shell Programming and Scripting
I have file (FILE.tmp) having contents,
I want to parse it bring a new file which will look like,
filename records ldbname timestamp... (2 Replies)
Discussion started by: Omkumar