10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am looking for bash or awk script to solve the following.
Input File 1:
>Min_0-t10270-RA|>Min_0-t10270-RA protein AED:0.41 eAED:0.46 QI:0|0|0|0.25|1|1|4|0|190
MIGLGFKYLDTSYFGGFCEPSEDMNKVCTMRADCCEGIEMRFHDLKLVLEDWRNFTKLST
EEKRLWATPAAEDFF
>Min_0-t10271-RA|>Min_0-t10271-RA protein... (5 Replies)
Discussion started by: Fahmida
5 Replies
2. UNIX for Dummies Questions & Answers
Hello All,
I'm using the following command:
grep -F -f List.csv Data.csv > Output.csv
List.csv
aa
bb
cc
dd
Data.csv
aa,other stuff
zz,other stuff
bb,other stuff
aa_2,other stuff
dd,other stuff
dd_2,other stuff (3 Replies)
Discussion started by: WongSifu
3 Replies
3. Programming
I am writing code for a binary search tree search and when I compile it i am getting strange errors such as, " /tmp/ccJ4X8Xu.o: In function `btree::btree()':
project1.cpp:(.text+0x0): multiple definition of `btree::btree()' "
What does that mean exactly?
tree.h
#ifndef TREE_H
#define... (1 Reply)
Discussion started by: meredith1990
1 Replies
4. Shell Programming and Scripting
I trying to write a script in bash that take a list of users in “fileA” and searches another list user in “fileB” if the user does not exist in “file B” write the user to another file “file C”.
Please note “fileA” and “fileB” contains over 1000 users
Basically
“fileA” “fileB”
... (2 Replies)
Discussion started by: hassan1
2 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Give the vi command for replacing all occurances of the string "DOS" with the string "UNIX" in the whole... (4 Replies)
Discussion started by: kbreitsprecher
4 Replies
6. UNIX for Dummies Questions & Answers
I am posting in this section because in this regard I am a Dummy. I know very little about ldap.
We have a couple of ldap registries running on an AIX box. I can connect into those registries using an openldap browser.
But I am trying to run some queries against the registry on the server itself,... (1 Reply)
Discussion started by: fwellers
1 Replies
7. Shell Programming and Scripting
Hi
There is one problem which i am not able to find the solution :(
Suppose there are two files tmpfile1 and tmpfile2 .
tmpfile1 contains data as
:bash> cat tempfile1
1222
1234
1234
1234
:bash>
now my code is written as
getcommand="cat tmpfile2"
while(getcommand | getline)... (7 Replies)
Discussion started by: aishsimplesweet
7 Replies
8. Shell Programming and Scripting
Hi,
In a file FILE, the following lines appear :
WORD 8 8 8
ANOTHERWORD blabla
...
Directly in the prompt, if I type
$sed '/WORD/s/8/10/g' FILE
it replace the 8's by 10's in file :
$cat FILE
WORD 10 10 10
ANOTHERWORD blabla
... (9 Replies)
Discussion started by: tipi
9 Replies
9. Shell Programming and Scripting
Can anyone help me in a scriptfor below example which has to find the string "System && Passcode 0" or "System && Failcode ??"
If this searched string occurs consecutively 4 times it should provide output as error
S.No : Program: Status
1. was : Passcode 1
2. System: Passcode 0... (1 Reply)
Discussion started by: gantagoru
1 Replies
10. Programming
hi all
i m writin a c program to search ldap db for values.
i used the following code after search result return a value >0
if (result==1)
{
entry=ldap_first_entry(ld,msg);
for(....;....;...)
{
// code to store the data values
}
}
i m gettin an error at... (1 Reply)
Discussion started by: mridula
1 Replies