12-04-2008
Ha, I just tried seaching again, but I used the title of this post as the search term in google and found it.
It's "paste"
I'd tried various combination "lateral join files" etc before.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to Unix and have tried to write a ksh script to do the following without success:
I have several reports in a directory (report1, report2, report3, etc). I would like to combine all of these reports into one file (REPORTS). I would like to append *** End of Report *** to each report so... (2 Replies)
Discussion started by: ldevito1
2 Replies
2. Shell Programming and Scripting
I am trying to get some data from a file and print it on the same line.
I have a script that gets the date/time and calculates a DB query call time and sends to a file. I need to take this file and send it in a xcel like format with multiple data columns.
example output file (fndbq.out)
... (3 Replies)
Discussion started by: theninja
3 Replies
3. Shell Programming and Scripting
The following input needs to be manipulated as follows:
INPUT from file or results of command:
============start:
Medium identifier : a45c0213:47eb5485:0aec:0321
Medium label : SQL Disk_11516
Location :
Protected : None ... (2 Replies)
Discussion started by: rcky_mntere
2 Replies
4. Shell Programming and Scripting
Hi,
I am having 2 huge files having line count more than 10million. The files look like:
File 1
45905099 2059
942961505 3007
8450875165 7007
615565331 3015
9415586035 9012
9871573 5367
4415655 4011
44415539519 5361
3250659295 4001
5950718618 9367
File 2
44415539519 TQ03... (2 Replies)
Discussion started by: rochitsharma
2 Replies
5. Shell Programming and Scripting
Hi,
I am not very familiar with sed and awk and i have a huge file to process which is impossible to do manually. I want to print out beginning from "Network" until end of line only (excluding the Version). AND. the decription to be all in one line.
File:
Version: 2.0 Network: xxx... (9 Replies)
Discussion started by: The One
9 Replies
6. Shell Programming and Scripting
Hi All,
I'm trying to figure out which are the trusted-ips and which are not using a script file.. I have a file named 'ip-list.txt' which contains some ip addresses and another file named 'trusted-ip-list.txt' which also contains some ip addresses. I want to read a line from... (4 Replies)
Discussion started by: mjavalkar
4 Replies
7. Shell Programming and Scripting
Hello,
I have a file as :-
ABC
DEF
GHI
JKL
<BlankLine>
MNO
PQR
STU
VWX
<BlankLine>
YZA
I need it as below:-
ABCDEFGHIJKL;
MNOPQRSTUVWX; (3 Replies)
Discussion started by: jassi10781
3 Replies
8. Shell Programming and Scripting
I am trying to combine lines with these conditions:
1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text.
2. If condition1 is met then continue to combine lines through a line that ends with a semicolon.
3. Ignore case when matching patterns and remove any... (5 Replies)
Discussion started by: Wes Kem
5 Replies
9. Shell Programming and Scripting
hi guys,
i am writing a bash script.. that produce output some thing like this:
road 100 300 500
road 100 300 500
road 100 300 500
road 100 300 500
street 400 200 700
street 400 200 700
path 200 100 900
i would like to combine all the entries that having the same but incremental (not... (12 Replies)
Discussion started by: pedot
12 Replies
10. UNIX for Beginners Questions & Answers
Input file:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 (6 Replies)
Discussion started by: Sagar Singh
6 Replies
LEARN ABOUT DEBIAN
tv_cat
TV_CAT(1p) User Contributed Perl Documentation TV_CAT(1p)
NAME
tv_cat - Concatenate XMLTV listings files.
SYNOPSIS
tv_cat [--help] [--output FILE] [FILE...]
DESCRIPTION
Read one or more XMLTV files and write a file to standard ouput whose programmes are the concatenation of the programmes in the input
files, and whose channels are the union of the channels in the input files.
--output FILE write to FILE rather than standard output
The treatment of programmes and channels is slightly different because for programmes, the ordering is important (typically programmes are
processed or displayed in the same order as they appear in the input) whereas channels are just a set indexed by channel id. There is a
warning if channel details clash for the same id.
One more wrinkle is the credits (source, generator and so on), they are taken from one of the files and then there's a warning if the other
files differ. If two input files have different character encodings, then it is not meaningful to combine their data (without recoding or
other processing) and tv_cat die with an error message.
This tool is rather useless, but it makes a good testbed for the XMLTV module.
SEE ALSO
xmltv(5).
AUTHOR
Ed Avis, ed@membled.com
perl v5.14.2 2003-10-25 TV_CAT(1p)