Hello!
I wan't to extract columns from two files and later combine them for plotting with gnuplot. If the files file1 and file2 look like:
fiile1:
a, 0.62,x
b, 0.61,x
file2:
a, 0.43,x
b, 0,49,x
The desired output is
a 0.62 0.62
b 0.61 0.49
Thank you in advance! (2 Replies)
Hello,
I have a matrix 200*10,000 and I need to extract the columns between 40 and 77. I dont want to write in awk all the columns. eg: awk '{print $40, $41, $42,$43 ... $77}'. I think should exist a better way to do this. (10 Replies)
Friends, I have a file with fileds in the following order
sda 4.80 114.12 128.69 978424 1103384
sdb 0.03 0.40 0.00 3431 0
sda 1.00 0.00 88.00 0 176
sdb ... (14 Replies)
Hi All,
I have a text file which looks like below.
################################################
Name:xxxxxxx
Version:1.0
Class: 2
City : Bangalore
Component Part Action Nb New Part Naming Part Name
12345 default 12345.12345 Bad
23456 ... (6 Replies)
Hello,
I have 2 files file1 & file2
=
a1 b1
a2 b2
a3 b3
...
=
c1 d1
c2 d2
c3 d3
...
I need to compare if b(i)=c(j) . i,j=1,2,3,4,...
If yes, right a(i) d(j) in output file3 per line (1 Reply)
Hi All,
I have 2 files with a common column.
File 1 looks like
NAME START POS1 POS2
N1 1234 1236 1237
N2 1245 1248 1250
..
..
File 2 looks like
NAME STRING
N1 ABCDEFGH
N2 EFGHBCD
N3 PQRSSTUV
..
......
... (25 Replies)
:wall:Hi there,
I am trying to extract/filter a unique data between specific columns from a tab deliminated file, that has a number of columns:
input file as follow:
5 rs1 70 A C 7 1 1 Blue
5 rs9 66 A E ... (2 Replies)
Hi everyone!!
I need to apply a simple command to extract columns from a matrix, but I need to extract contemporary from the first to the tenth columns, than from the eleventh to the twentyth and so on...
how can i do that? (1 Reply)
Discussion started by: gabrysfe
1 Replies
LEARN ABOUT NETBSD
infocmp
INFOCMP(1) BSD General Commands Manual INFOCMP(1)NAME
infocmp -- compare or print compiled terminfo descriptions
SYNOPSIS
infocmp [-1acnqux] [-A database] [-B database] [-w cols] [term ...]
DESCRIPTION
The infocmp reconstructs the first available terminfo(5) definition found for term and prints the result in a terminfo(5) format. Capability
types are grouped together and new types start new lines, first flags, then numbers, then strings. Capabilities are sorted by their name.
If a second term is given then the capabilities are compared against each other.
The following options are available:
-1 Print one capability per line.
-A database Use this database to load the first terminal definition.
-B database Use this database to load subsequent terminal definitions.
-a Include commented out capabilities. This only works if the database was compiled with the -a flag passed to tic(1). This
also sets the -x flag as infocmp retains commented out capabilities as non standard.
-c Print capabilities common to each definition.
-n Print capabilities that do not exist in either definition.
-q Make the comparison listing shorter by omitting subheadings and using - for absent capabilities, @ for canceled capabilities
rather than NULL.
-u Build a new terminal description for the first terminal description, using subsequent terminal descriptions. This also sets
the -a flag.
-w cols Limit the width to cols.
-x Include non-standard capabilities. More -x only handles non-standard capabilities. This only works if the database was
compiled with the -x flag passed to tic(1).
ENVIRONMENT
COLUMNS Override columns returned by the output terminal. -w cols supersedes this.
TERM infocmp uses the contents of the TERM environment variable if no terminal name is given on the command line.
EXIT STATUS
The infocmp utility exits 0 on success, and >0 if an error occurs.
SEE ALSO tic(1), terminfo(5)STANDARDS
The infocmp utility outputs information that conforms to the X/Open Curses Issue 4, Version 2 (``XCURSES4.2'') standard.
AUTHORS
Roy Marples <roy@NetBSD.org>
BSD February 5, 2010 BSD