9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've got two files that each contain a 16-digit number in positions 1-16. The first file has 63,120 entries all sorted numerically. The second file has 142,479 entries, also sorted numerically.
I want to read through each file and output the entries that appear in both. So far I've had no... (13 Replies)
Discussion started by: Scottie1954
13 Replies
2. 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:
view the 7th line of the program xxx.sh
2. Relevant commands, code, scripts, algorithms:
head command tail... (10 Replies)
Discussion started by: hbell221
10 Replies
3. UNIX for Dummies Questions & Answers
hay i need to display middle line:
1
2
3
4
5
how can i display 3-4? (6 Replies)
Discussion started by: margan_ron
6 Replies
4. UNIX for Advanced & Expert Users
Hi ,
I have a text file in the format
DB2:
DB2:
WB:
WB:
WB:
WB:
and a second text file of the format
Time=00:00:00.473
Time=00:00:00.436
Time=00:00:00.016
Time=00:00:00.027
Time=00:00:00.471
Time=00:00:00.436
the last string in both the text files is of the... (4 Replies)
Discussion started by: kanthrajgowda
4 Replies
5. UNIX for Dummies Questions & Answers
Assume that the text file contains over 40 lines. How do you do this?!?!? (5 Replies)
Discussion started by: phunkypants
5 Replies
6. Shell Programming and Scripting
Hi,
I have a set of simple, one columned text files (in thousands).
file1:
a
b
c
d
file 2:
b
c
d
e
and so on. There is a collection of words in another file:
b d
b c d e
I have to find out the set of words (in each row) is present or absent in the given set of files. So, the... (4 Replies)
Discussion started by: mala
4 Replies
7. Shell Programming and Scripting
I am new to UNIX......I have one file which contains thousnads of records with header and tailer.
Header
Record 1
Record 2
....
....
Last Record
Trailer
I want to concatenate Header and Trailer in the first line....now the output should look like this:
Header: Header value, Trailer:... (2 Replies)
Discussion started by: 33junaid
2 Replies
8. UNIX for Dummies Questions & Answers
I've a major file which includes other files and now I wanna 'cut' the file in several minor parts....like
....
find / -name "*.tmp" >filea
wc -l filea >fileb
sed -e '1s/ filea//' fileb >filec
AMOUNT=`cat filec`
if ; then
cat file a |head -100l (ell) |tail -100l >filec
cat file a |head... (6 Replies)
Discussion started by: svennie
6 Replies
9. Shell Programming and Scripting
hai
in my shell script i want to replace the following commands
1) more
2) head
3) tail
i want to try all type of possible options avaliabul in the above commands
please help in implementing those commands (9 Replies)
Discussion started by: g_s_r_c
9 Replies