10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i want to PASTE two files, with a delimiter in between, using awk and pipe the output to another file. i am able to achive the reqirement using PASTE command. but it has a limitation of length till 511 bytes.
Example:
-------
File1:
----
sam
micheal
file2:
----
bosco... (11 Replies)
Discussion started by: mohammedsadath
11 Replies
2. Shell Programming and Scripting
Hi,
I have around 400 directories each one named as hour_1/ , hour_2/ .....hour_400/ and each of these contains two files, namely:
File1: hour_1.txt (in hour_1/) , hour_2.txt (in hour_2/) ....hour_400.txt (in hour_400/) etc...
File2: client_list_hour_1.txt (in hour_1/),... (7 Replies)
Discussion started by: amarn
7 Replies
3. Shell Programming and Scripting
Hi all,
I have certain task to do, which involves reading the first column of 1.txt file.
This is variable "event"
28434710
23456656
3456895
& finding this "event" in some other text file 2.txt, which has information in the following format
#Zgamma: 1 run: 160998 event: ... (7 Replies)
Discussion started by: nrjrasaxena
7 Replies
4. Shell Programming and Scripting
Hi all,
I tried to use the paste command to paste two files with different number of lines.
e.g.
file1
A 1
B 1
C 2
D 2
file2
A 2
B 3
C 4
D 4
E 4 (2 Replies)
Discussion started by: f_o_555
2 Replies
5. Shell Programming and Scripting
i have two files with contents
file a
1234,abcf
2345,drft
4444,befr
file b
tom,3
sam,5
dog,7
i want to print first column of file b and join to file a and get output as below
tom,1234,abcf
sam,2345,drft
dog,4444,befr (2 Replies)
Discussion started by: dealerso
2 Replies
6. Shell Programming and Scripting
hey,
I have more a structural problem. I have two input files:
1.inp:
1 2 3 a b c
2 3 4 d f g
and the 2.inp
6 6 6
7 7 7
8 8 8
The goal is to get as much output files (with a name 1_2_3.dat) as lines in 1.inp are like this:
6 6 6 a
7 7 7 b
8 8 8 c (5 Replies)
Discussion started by: ergy1983
5 Replies
7. Shell Programming and Scripting
hi all, first time posting, hoping i can get some help on this.
I have about 80 text files containing text in this format:
# Rg Mass Density Rcm-x Rcm-y Area Rsph/sqrt(2)
# == ==== ======= ===== ===== ==== ... (9 Replies)
Discussion started by: Arlamos
9 Replies
8. UNIX for Dummies Questions & Answers
Hi, I would like to paste multiple files together into one large file.
I have 23 of them and I would like to link them on a common variable without writing all the file names out (like in a simple join). Each has about 28,000 columns, but only 17 rows.
So the final product would be a single file... (2 Replies)
Discussion started by: etownbetty
2 Replies
9. UNIX for Dummies Questions & Answers
howdy all --
I recently trashed my old PC and bought a MacBook. Moving all my files over, I find I've got a zillion instances of stupid Windows files like Thumbs.db and desktop.ini all over the place. I'm looking for a way to delete them all at once (deleting each manually would take forever),... (2 Replies)
Discussion started by: mdtreky
2 Replies
10. UNIX for Dummies Questions & Answers
Hello !
Does anyone knows which de limit of files in the ufs filesystem in the Solaris 2.6 ??
Danke,
Witt (2 Replies)
Discussion started by: witt
2 Replies