HI All,
Am searching strings in a file, getting the string from data base in the code.
If i take 10 strings as search input from data base am getting the output correct, if am taking more than 10 strings as input am getting a Memory fault(coredump) Error.
In the code am using fopen() for opening file once and using fseek() to make the file pointer to point to beginning of file once i searched fi
Hello All,
I have a .CSV file where I expect all numeric data in all the columns other than column headers.
But sometimes I get the files (result of statistics computation by other persons) like below( sample data)
Code:
SNO,Data1,Data2,Data3
1,2,3,4
2,3,4,SOME STRING
3,4,Inf,5
4,5,4,4
I want to remove the columns where ever character strings( I cannot provide the complete list as it is
Hello,
I have a bunch of strings of the following format:
Code:
11.22.33.44.in-addr.arpa x.y.z.
What I want to do is format each string in this way:
Code:
44.33.22.11 x.y.z
i.e. the string conists of two columns, where delimiter is space. I need to output modified first column (delimiter inside that column is .
I have input file like
Code:
AAA
AAA
CCC
CCC
CCC
EEE
EEE
EEE
EEE
FFF
FFF
GGG
GGG
i was trying to retrieve data between two strings using sed.
Code:
sed -n /CCC/,/FFF/p input_file
Am getting output like
Code:
CCC
CCC
CCC
EEE
EEE
EEE
EEE
FFF
The above command retrieves the data till to the first occurence of the destination string (i.e., till 1st occurence off FFF record)
I need t
I have very limited coding skills but I'm wondering if someone could help me with this. There are many threads about matching strings in two files, but I have no idea how to add a column from one file to another based on a matching string.
I'm looking to match column1 in file1 to the number following the string "Gene_" in file2.
I am have trouble accessing a string I stored in strings.xml and don't know why.
res/values/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="FileBrowser">FileBrowser</string>
<string name="menu_settings">Settings</string>
<string name="up_one_level">..</string>
<string name="current_dir">.</s
Hi,
I have a unix file with contents as below
Code:
Line1: ABC MNN X$$QWERTY$$ JKL
Line2: HELLO $$HOW$$ ARE $$YOU$$ DOING
i want to extract the string between $$ and $$ ie i want the output as QWERTY
HOW YOU
i want those strings seperated by some character say |
desired output is
Code:
QWERTY|HOW|YOU
i tried using sed, but couldn't figure it out.
I have a file with multiple lines. From each line I want to get all strings that starts with '+' and ends with '/'. Then I want the strings to be separated by ' + '
Example input:
Code:
+$A$/NOUN+At/NSUFF_FEM_PL+K/CASE_INDEF_ACC
Sample output:
Code:
$A$ + At + K
I am trying to get my app to use a different String for hebrew.
what I did was I created a different filder in "res" calles "values-iw" and places a "strings.xml" file in there.
when i do Locale.getDefault(); i get "heb-il" which by google is ok "Java uses several deprecated two-letter codes.