hi,
i am facing a problem in merging two files using awk,
the problem is as stated below,
file1:
A|B|C|D|E|F|G|H|I|1
M|N|O|P|Q|R|S|T|U|2
AA|BB|CC|DD|EE|FF|GG|HH|II|1
....
....
....
file2 :
1|Mn|op|qr (2 Replies)
I have 3 files
1.csv
abc
def
2.csv
abc
xyb
3.csv
abc
e23
frw
I need to search for the common word in all the three files. How do i do that in awk ? (10 Replies)
Hi all,
that' my problem
dir1:
fileA
fileB
fileC
dir2:
fileA
fileC
I need a command in shell to obtain a dir with common files:
dir_common:
fileA
fileC
thank u all (6 Replies)
Hi
I have 2 files with following data
First file,
sp|Q676U5|A16L1_HUMAN,
Autophagy-related protein 16-1 OS=Homo sapiens GN=ATG16L1 PE=1 SV=2,
Maximum coiled-coil residue probability: 0.657 in position 163.
Maximum dimeric residue probability: 0.288 in position 163.
... (1 Reply)
I have this code
awk 'NR==FNR{a=$1;next} a' file1 file2
which does what I need it to do, but for only two files. I want to make it so that I can have multiple files (for example 30) and the code will return only the items that are in every single one of those files and ignore the ones... (7 Replies)
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)
Hello there:
I want to find common among files. They all have one column.
Format for data:
CEU_snp_CHR21.txt
21:10758305
21:10827533
21:10913441
21:10920098
21:10952160
21:10966322
21:10985991
NAT_CHR21_variants.txt
21:10971951 (3 Replies)
I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. Can someone help me on this ?
Source File
*************
# file: /local/test_1
# owner: own
#... (4 Replies)
Discussion started by: sarathy_a35
4 Replies
LEARN ABOUT OSF1
kateenc
KATEENC(1) libkate KATEENC(1)NAME
kateenc - create Kate streams from text input
SYNOPSIS
kateenc [-hVM] [-o outfile] [-l language] [-c category] [-s serial] [-C tag=value] [-R threshold] [-K threshold] -t filetype [ infile ]
DESCRIPTION
kateenc creates Kate streams from input files (SubRip SRT subtitles, LRC lyrics, and libkate's custom description language). When saved to
an Ogg stream (the default behavior), a Kate stream may then be merged with other Ogg streams (eg, a Theora video) using the oggz tools.
OPTIONS -h Show command line help.
-V Show version information.
-M Allow simple HTML-like markup in SRT files. If this parameter is used, strings such as "<i>" will be interpreted to mean italics,
rather than appear as such. Note that various players interpret a slightly different set of HTML tags, and some do not.
-o outfile
Write the output Kate stream to the given file name (writes to stdout if not specified).
-l language
Sets the language for the stream (default is the language specified in the input, or none).
-c category
Sets the category for the stream (default is the category specified in the input, or none).
-s serial
Sets the serial number for the output Kate stream (does not apply to raw streams).
-C tag=value
Adds a comment to encode into the output Kate stream. The comment must be of the form tag=value, and comply with the Vorbis comment
rules (eg, tag is composed of a particular subset of ASCII characters, and value is valid UTF-8). Note that you might have to escape
or quote the comment for it to be seen as a single command line parameter.
-t filetype
Specifies the type of the input (srt, lrc, kate)
-R threshold
Use repeat packets, with the given threshold (in seconds). Data packets will be repeated at intervals of roughly threshold seconds,
while active.
-K threshold
Use keepalive packets, with the given threshold (in seconds). Keepalive packets will be emitted when no other packet has been emit-
ted for roughly threshold seconds.
EXAMPLES
Create a Kate stream for Welsh subtitles from a SubRip file:
kateenc -t srt -l cy -c SUB -o output.ogg input.srt
SEE ALSO katedec(1), katalyzer(1)libkate 0.4.1 13 october 2010 KATEENC(1)