I have a file with following file format -
DMCRH|||83000171|||14022008||0430|||8956612.23|J|||3571235|1378452|23468|6894|9234|
DMCRH|||83000215|||15092007||0480|||121.33|J|||LineID003|RefNumSP003|RefNumMem003|0004|0003|
What i need done is -
1. Cut the firt four digits of the date (eg 1402... (3 Replies)
Hi,
Need to delete all the records prior to pattern (INSERT/UPDATE/DELETE). If ' is available, then need to retain it.
Input
======================
l_s := ' INSERT INTO TEST'
l_P PD := ' UPDATE INTO TEST'
l_D := ' DELETE INTO TEST'
This is test
Input
======================... (1 Reply)
Hi,
Need to delete all the records prior to pattern (INSERT/UPDATE/DELETE). If ' is available, then need to retain it.
Input
======================
l_s := ' INSERT INTO TEST'
l_P PD := ' UPDATE INTO TEST'
l_D := ' DELETE INTO TEST'
This is test
Output
======================... (1 Reply)
I need to count the number of lines between two sets of pattern in a file and delete those lines from that file e.g
From jyotiv@yahoo.com
test
test2
test3
test4
test5
test6
From Jyotiv@yahoo.com
So count lines from test to test6 and delete it from the start of file till next From... (1 Reply)
Hi,
I have a file which contains data in this format
# User@Host: abc @ Id: 0000000
# Query_time: 0.000070 Lock_time: 0.000000 Rows_sent: 1 Rows_examined: 0
SET timestamp=00000000;
SELECT @@version, @@version_comment;
# User@Host: abcd @ Id: 00000000
# Query_time: 0.000228 ... (6 Replies)
Hi,
I have requirement to format the file.My input file tab(\t) saperated.
File format is:-
93 WARNING Sat Mar 17 20:31:59 2012
Sequential_File_0,0: Missing record delimiter "\r\n", saw EOF instead
94 WARNING Sat Mar 17 20:31:59 2012
Sequential_File_0,0: Import... (4 Replies)
Hi,
I have a file in the following format.
cat input
name: abcd_ef_1
234:343:343
343:234:343
name : abcdef_2
2343:2343:3434:
w3243:wr43:2343
2343:2343:23343:3432
2343:34234:2343
name: 3432_343_3
23432:2343
2343:23432:32432
23432:23432:3432432
As you can see... (2 Replies)
I have to write a program to read data from files and then format into another file. However, I face a strange problem related to control character that I can't understand and solve.
The source file is compose of many lines with such format:
T_NAME|P_NAME|P_CODE|DOCUMENT_PATH|REG_DATE
... (3 Replies)
Hi All,
i have a requirement where i need to format the input RAW file ( which is CSV) by using another mapping file(also CSV file). basically i am getting feed file with dynamic headers by using mapping file (in that target field is mapped with source filed) i have to convert the raw file into... (6 Replies)
Discussion started by: ravi4informatic
6 Replies
LEARN ABOUT MINIX
ipmidetect
Ipmidetect(8) Ipmidetect Ipmidetect(8)NAME
ipmidetect - list detected and/or undetected IPMI interfaces in a cluster
SYNOPSIS
ipmidetect [OPTION...] [NODES...]
DESCRIPTION
ipmidetect lists which IPMI nodes have been detected or undetected in a cluster. This information is provided by the libipmidetect(3)
library and ipmidetectd(8) daemon.
ipmidetect will output the status of each IPMI node configured with ipmidetectd(8) unless they are specified on the command line. If the
first node listed is "-", nodes will be read in from standard input. The nodes can be listed in hostrange format, comma separated lists, or
space separated lists. See the section below on HOSTRANGED SUPPORT for instructions on how to list hosts in range format. The hostnames
listed must be the shortened names of hostnames.
OPTIONS -h, --help
Print help and exit
-v, --version
Print version and exit
-o STRING, --hostname=STRING
server hostname (default=localhost)
-p INT, --port=INT
server port (default=8649)
-d, --detected
List only detected nodes
-u, --undetected
List only undetected nodes
-q, --hostrange
List nodes in hostrange format (default)
-c, --comma
List nodes in comma separated list
-n, --newline
List nodes in newline separated list
-s, --space
List nodes in space separated list
HOSTRANGED SUPPORT
Multiple hosts can be input either as an explicit comma separated lists of hosts or a range of hostnames in the general form: prefix[n-m,l-
k,...], where n < m and l < k, etc. The later form should not be confused with regular expression character classes (also denoted by []).
For example, foo[19] does not represent foo1 or foo9, but rather represents a degenerate range: foo19.
This range syntax is meant only as a convenience on clusters with a prefixNN naming convention and specification of ranges should not be
considered necessary -- the list foo1,foo9 could be specified as such, or by the range foo[1,9].
Some examples of range usage follow:
foo[01-05] instead of foo01,foo02,foo03,foo04,foo05
foo[7,9-10] instead of foo7,foo9,foo10
foo[0-3] instead of foo0,foo1,foo2,foo3
As a reminder to the reader, some shells will interpret brackets ([ and ]) for pattern matching. Depending on your shell, it may be neces-
sary to enclose ranged lists within quotes.
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) 2007 The Regents of the University of California.
This program 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 libipmidetect(3), ipmidetect.conf(5), ipmidetectd(8)
http://www.gnu.org/software/freeipmi/
Ipmidetect 1.1.5 2012-06-15 Ipmidetect(8)