10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Does anyone know of an efficient way to index a column of data in file2 to print the coresponding row in file1 which corresponds to the data in file2 AND 30 rows preceding and after the row in file1.
For example suppose you have a list of numbers in file2 (single column) as follows:... (6 Replies)
Discussion started by: Geneanalyst
2. UNIX for Dummies Questions & Answers
This is pretty simple, I`m looking for a faster and better method than brute force that I`m doing.
I have a 20GB file looks like
I want 3 files.
... (2 Replies)
Discussion started by: senhia83
3. Shell Programming and Scripting
I think I might have bitten off more than I can chew here and I'm hoping some of you guys with advanced pattern matching skills can help me.
What I want to do is index the occurrence of variable names within a library of scripts that I have. Don't ask why, I'm just sad like that...
... (3 Replies)
Discussion started by: bbq
4. Shell Programming and Scripting
I have data like this in a column.
etc. where 0 identifies the start of a pattern in my data.
So I need the output like below using either awk/sed.
0 1 (2 Replies)
Discussion started by: ks_reddy
5. Shell Programming and Scripting
Can you please help me with the below.
ARR="No Differences In Stage Between HASH_TOTALS & HASH_TOTALS_COMP For UNINUM:0722075 PROVIDER:5 EXTRACT_DT:30-SEP-12 VER_NUM:1"
ARR="No Differences In Stage Between HASH_TOTALS & HASH_TOTALS_COMP For UNINUM:0722075 PROVIDER:5... (14 Replies)
Discussion started by: Ariean
6. Shell Programming and Scripting
I'm stuck with this script for three days now. Here's what i need.
I need to split a large delimited (,) file into 2 files based on the value present in the last field.
I need this split... (6 Replies)
Discussion started by: shell_boy23
7. Shell Programming and Scripting
I have a file like this:
Support for IP telephony
Built-in SIP stack
Support via software
Support for Microsoft Exchange
UMA (5 Replies)
Discussion started by: Johanni
8. Shell Programming and Scripting
i have file with format like this
i want filter with output like this
20110212... (7 Replies)
Discussion started by: zvtral
9. Shell Programming and Scripting
i have a data array as follows.
so number or elements in the array can varies depending on how big the data input is.
now i have a variable, and it is $1 (there are $2, $3 and so on, i am only interested in $1).
... (9 Replies)
Discussion started by: usustarr
10. Shell Programming and Scripting
I have 4 array as below
servernames=(10.144.0.129 10.144.0.130 10.144.0.131)
subfolder_129=(PSTN_SigtranCamel_03 PSTN_SigtranCamel_04 PSTN_SigtranCamel_05)
subfolder_130=(SigtranCamel_11 SigtranCamel_12 SigtranCamel_13 SigtranCamel_14 SigtranCamel_15)... (4 Replies)
Discussion started by: sushmab82