10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am using following command:
perl program.pl input.txt output.txt CUTOFF 3 > groups_3.txt
containing program.pl, two files (input.txt, output.txt) and getting output in groups_3.txt:
But, I wish to have 30 files corresponding to each CUTOFF ranging from 0 to 30 using the same... (1 Reply)
Discussion started by: bioinfo
1 Replies
2. Shell Programming and Scripting
Hi,
I have one file 1.txt with one field consist of following Ids (shortlisted 10 but showing 3 here):
00052
00184
00607
and then second file 2.txt with three fields (very big file):
00052 00184 12.73062
00052 00598 13.51205
00052 00599 13.92554
00052 00600 13.73358... (2 Replies)
Discussion started by: bioinfo
2 Replies
3. Shell Programming and Scripting
Hi all,
I want to retrieve a part of the mail ID.
Im using Ksh.
The mail ID's i handle are of the type:
abc.def@ghi.com
I want the abc part alone.
Here is the code i used:
a=`echo $mailid |sed 's/\(.*\)..../\1/'`
echo $a
but the output i get is abc.def@ghi
I dont know... (2 Replies)
Discussion started by: Jayaraman
2 Replies
4. Shell Programming and Scripting
Hello,
I am new to UNIX.
My Requirement: Need to connect to Oracle database from UNIX and execute an SELECT statement and store the records in a flatfile of Comma delimiter.
What I have Succeeded: I was able to connect to Oracle from UNIX.
Problem: I cannot fetch multiple... (3 Replies)
Discussion started by: arunvasu2
3 Replies
5. UNIX for Dummies Questions & Answers
Dear All,
I have a question.
I have similarly named files stored in different directories and I'd like to retreive information from them remotely to perform other tasks. For example given:
Folder 5 has files S5_SK1.chr01 S5_SK1.chr02 .......
Folder 6 has files S6_SK1.chr01 ... (3 Replies)
Discussion started by: pawannoel
3 Replies
6. Shell Programming and Scripting
Hey guys, i just started shell programming and i have a question. I am working on a simple inventory project and one of the problems which i am unable to solve would be how i am going to extract the data i need from a text file(which will be my database) and then put it inside the executable to be... (5 Replies)
Discussion started by: gregarion
5 Replies
7. Shell Programming and Scripting
Hi
I am new to shell scripting and i am preparing a script.
for now i am work on a sub part of it..but i am unable to make it work.
---
the test code that i am working on
--------------------------
IFS=""
Sample_eve=`psg proc_s | grep tY`
n=0
for line in $Sample_eve... (41 Replies)
Discussion started by: Anteus
41 Replies
8. UNIX for Dummies Questions & Answers
First of all want to apologize for such a simple question. Very "new" to UNIX and have just taken a small intro class.
I need to pull back YYYYMMDD and store it in a field to be used later. I figured out date "+%Y%m%d" returns the date in that format, just not sure how to store it.
I am... (7 Replies)
Discussion started by: cards0622
7 Replies
9. UNIX for Dummies Questions & Answers
I have a stream of data come to a server and store in a file (datafile). This stream of data contain a lot of information. Data could come in every second or different frequency of times.
I like to retrieve a certain text string as the data come in. All data information will come with the... (1 Reply)
Discussion started by: bobo
1 Replies
10. UNIX for Dummies Questions & Answers
I am trying to write a short block of code that takes a partial filename as input from the command line, then searches multiple remote servers for any file that matches the pattern. If the pattern is found, I would like to return the value of an environment variable from the *remote* server.
... (0 Replies)
Discussion started by: bschnair
0 Replies