10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I needed to view calendar for several months so I created a separate file for each and then pasted them like this:
cal Dec 2011 > x1;
cal Jan 2012 > x2;
paste x1 x2
December 2011 January 2012
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 3 1 2 ... (4 Replies)
Discussion started by: migurus
4 Replies
2. Shell Programming and Scripting
Hi!
I have two files that look like this:
File1
A
B
C
D
E
F
...
File2
Z
Y
X
W
V
U (4 Replies)
Discussion started by: Limmnes
4 Replies
3. Shell Programming and Scripting
Dear All,
I have thousands of files (consists of one column each) and i need to paste all the columns in a single file as follows:
I have files - file1, file2, file3, .......file2000.
I need to paste all the files in a single file of separate columns as shown below:
file1 file2 file3 ... (3 Replies)
Discussion started by: Fredrick
3 Replies
4. Shell Programming and Scripting
Hi,
Need a help with shell script. I have to search for a string in one of the file, if match found, copy the line to a new file and delete the line from the exisiting file.
eg:
83510000000000063800000.1800000.1600000.1600000.2400000.1800000.2000000.21... (6 Replies)
Discussion started by: gpaulose
6 Replies
5. UNIX for Dummies Questions & Answers
input1
15 150
input2
x 10 100
input3
y 20 200
z 34 44
cmd
paste -d "\t" input1 input2 input3 >>output
output (1 Reply)
Discussion started by: repinementer
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
1. How can I get around the issue with pasting more than 12 files together?
2. paste file1 file2 > file3........how can I do this with awk??
Thanks! (14 Replies)
Discussion started by: bobo
14 Replies
7. Shell Programming and Scripting
how can i make a script or command to have output like this
$cat file
10000 20000
$cat a
10000
$cat b
20000
this is the solution paste a b > file
but another solution?
$cat file
10000 20000 (3 Replies)
Discussion started by: kenshinhimura
3 Replies
8. Shell Programming and Scripting
Hi everybody:
I tried to paste several files which have the same pattern name file like this:
down_s1.dat, down_s2.dat, down_s3.dat, down_s4.dat ... down_s10.dat
So I have tried to do it as:
paste down_s.dat > final.dat
But it does not work correctly.
Any suggestion. Thanks in... (1 Reply)
Discussion started by: tonet
1 Replies
9. UNIX for Dummies Questions & Answers
Hello all,
I have two files:
file1:
data1 data2 data3
data4 data5 data6
data7 data8 data9
file2:
reference
I need to paste both files with the following output:
data1 data2 data3 reference
data4 data5 data6 reference
data7 data8 data9 reference
I tried using the paste... (3 Replies)
Discussion started by: mig28mx
3 Replies
10. Shell Programming and Scripting
Below is a simple script that allows the use of the Unix paste utility. However, when I try and run the script, it gives me the following errors:
pastescript: ^M: not found
pastescript: ^M: not found
pastescript: syntax error at line 24: `in^M' unexpected
Could anyone tell me what's wrong... (1 Reply)
Discussion started by: Dangrim1
1 Replies