10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a variable and assigned the following values
I need to read this variable from backward and stop read when I get first underscore (_)
In this scenario I should get 211
Kris (3 Replies)
Discussion started by: mkris
I need to save part of a file to a different one, start and end offset bytes are provided by two counters in long format. If the difference is big, how should I do it to prevent buffer overflow in java? (7 Replies)
Discussion started by: Tribe
3. UNIX for Advanced & Expert Users
I have a string with name as 20140412-s1-Potopolive_promos_20140412. So I want to extract only Potopolive string. Could you please help me the command.
O/p : Potopolive
Thx in advance (5 Replies)
Discussion started by: lkeswar
4. Shell Programming and Scripting
I have a text file, input.fasta contains some protein sequences. input.fasta is shown below.
RLGADMEDVCGRLVQYRGEVQAMLGQSTEELRVRLASHLRKLRKRLLRDADDLQKRLAVY... (8 Replies)
Discussion started by: rahim42
5. Shell Programming and Scripting
I have a file with 100s of lines of text. I want to perform an extraction of this line:
Info bpzs(pid=2652) using 1000 bits
I have not been able to extract it. Should I try expr match or is there another method? This line has data both in front of and in back of it. I do not have grep -o... (5 Replies)
Discussion started by: newbie2010
6. Shell Programming and Scripting
I want to select and use the certain part of a line. For example I have the following line
how can I extract the part " /myhome/afolder/H2O/endfile "
thanks (6 Replies)
Discussion started by: rpf
7. Shell Programming and Scripting
I need to extract the following lines from this text and put it in different files.
From firstname.lastname@example.org Thu Jun 10 21:15:46 2010
Received: from ubuntu (localhost )
by ubuntu (Postfix) with ESMTP... (11 Replies)
Discussion started by: waxo
8. Shell Programming and Scripting
I have a string like this
how to extract only the the last part ie, only user.bun (2 Replies)
Discussion started by: vprasads
9. Shell Programming and Scripting
I'm having some problem with UNIX scripting (ksh), perhaps somebody can help me out?
Sample content of my log file (text file):
info_2 ...... (10 Replies)
Discussion started by: superHonda123
10. UNIX for Dummies Questions & Answers
I want to extract a part of filename and pass it as a parameter to one of the scripts. Could someone help.
Here i have to extract only XXXXX.XXXXXXX and the position will be constant. that means that i have to extract some n characters from... (6 Replies)
Discussion started by: dnat