In column 2 (beginning with 1 and ending with 15) I need to add 5294 to all the numbers and write a new file. In the third column, which has sets of three of the same five numbers (257 — 261) I need to do something similar, and subtract 126 from all of them (giving 131 — 135).
If you just need what you said, This is it.
If its not, Please elaborate as other posters said with expected output.
Btw, from column3, you mean column 6 right?
Hello everyone !
Ive searched everywhere and still havnt found enough information to help me overcome (what seems like) a small problem
I have created a temporary file in which i store numbers which a seperated by a space, eg)
5 10 46
23 866 392
i wish to take the numbers for each line... (2 Replies)
Howdy experts,
We have some ranges of number which belongs to particual group as below.
GroupNo StartRange EndRange
Group0125 935300 935399
Group2006 935400 935476
937430 937459
Group0324 935477 935549
... (6 Replies)
I am begining to learn bourne shell and as a practice I have written a script which when given the purchase price and percentage of discount calculates the savings.
I somehow cannot figure out why my script fails to do arthimatic calculation on real numbers.
Could anyone look at the script... (5 Replies)
Hello All,
I am having problem to find what is the smallest number from 90% of highest numbers from all numbers in file. I am having file with thousands of lines and hundreds of columns.
I am familiar mainly with bash but I am open to whatever suggestion witch will lead to the solutions.
If I... (11 Replies)
Hi
I figured how to add my list of numbers. However how do I count so that after a certain number it lists the line.
Example:
12 test1
46 test2
195 test3
174 test4
634 test5
185 test6
94 test7
So basically add the numbers and when the addition reaches 300 or less
print the... (8 Replies)
Dear all,
I have one file (see below) with more then 100 columns and 2500 rows, and need only column which has GType in label with Alphabets, please help me to remove these columns with numbers.
input file is
n.201.GType n-201.Theta n-201.R n_1.GType n_1.Theta n_1.R... (6 Replies)
Hi,
I would like to add a new column containing the row numbers to a text file. How do I go about doing that? Thanks!
Example input:
A X
B Y
C D
Output:
A X 1
B Y 2
C D 3 (5 Replies)
Hello,
I am having a problem when i execute following script on RHEL 6.4. Same script works fine on another machine where I have same version of RHEL and KSH.
Below is the rpm and RHEL version.
ossvm12(0)> rpm -qa | grep ksh
ksh-20100621-19.el6.x86_64
ossvm12(0)> cat... (7 Replies)
Hi Folks,
I have a file with 2 columns TAB delimited and I want to add '1' to the first column and subtract '-1' from the second column.
What I have tried so far is;
awk -F"\t" '{ $1-=1;$2+=1}1' OFS='\t' file
File
0623 0623
0624 0624
0643 0643
1059 1037
1037 1037
1038 1038... (2 Replies)
Discussion started by: pshields1984
2 Replies
LEARN ABOUT MINIX
libipmiconsole
libipmiconsole(3) System Commands libipmiconsole(3)NAME
libipmiconsole - IPMI SOL library
SYNOPSIS
#include <ipmiconsole.h>
int ipmiconsole_engine_init(unsigned int thread_count, unsigned int debug_flags);
int ipmiconsole_engine_submit(ipmiconsole_ctx_t c, Ipmiconsole_callback callback, void *callback_arg);
int ipmiconsole_engine_submit_block(ipmiconsole_ctx_t c);
void ipmiconsole_engine_teardown(int cleanup_sol_sessions);
ipmiconsole_ctx_t ipmiconsole_ctx_create(char *hostname, struct ipmiconsole_ipmi_config *ipmi_config, struct ipmiconsole_protocol_config
*protocol_config);
int ipmiconsole_ctx_errnum(ipmiconsole_ctx_t c);
char *ipmiconsole_ctx_strerror(int errnum);
ipmiconsole_ctx_status_t ipmiconsole_ctx_status(ipmiconsole_ctx_t c);
int ipmiconsole_ctx_fd(ipmiconsole_ctx_t c);
int ipmiconsole_ctx_generate_break(ipmiconsole_ctx_t c);
int ipmiconsole_ctx_destroy(ipmiconsole_ctx_t c);
DESCRIPTION
Libipmiconsole implements a high level serial-over-lan (SOL) API for remote console access. It can be used to establish and manage multiple
IPMI 2.0 SOL sessions. The goal of this library is to abstract away all of the underlying IPMI/SOL details away from the user into a rela-
tively simple file descriptor interface.
FILES
/usr/include/ipmiconsole.h
REPORTING BUGS
Report bugs to <freeipmi-users@gnu.org> or <freeipmi-devel@gnu.org>.
COPYRIGHT
Copyright (C) 2007-2012 Lawrence Livermore National Security, LLC.
Copyright (C) 2006-2007 The Regents of the University of California.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
SEE ALSO ipmiconsole(8)
http://www.gnu.org/software/freeipmi/
libipmiconsole 1.1.5 2012-06-15 libipmiconsole(3)