I have a file with lot of lines with repeating pattern. ( TABLE_NAME line followed by Total line).
I would like combine these two lines into one line seperated by cama and create a new file. Is there a simple way to do this.
Current Format ( just a sample 4 lines )
Code:
TABLE_NAME: ABC.TABLE1
Total = 59084806
TABLE_NAME: DEF.TABLE1
Total = 13170198
Is there a way to combine two lines onto a single line...append the following line onto the previous line?
I have the following file that contains some blank lines and some lines I would like to append to the previous line...
current file:
checking dsk c19t2d6
checking dsk c19t2d7
... (2 Replies)
This is the problem actually:
This regex:
egrep "low debug.*\".*\"" $dbDir/alarmNotification.log
is looking for data between the two quotation marks:
".*\"
When I hate data like this:
low debug 2009/3/9 8:30:20.47 ICSNotificationAlarm Prodics01ics0003 IC... (0 Replies)
Hi everybody.
I have a number of files that i would like to combine. however not concatenating, but rather extract lines from the files.
Example:
File1 ------ File2 ------File3 ...
line11 ---- line21 ---- line31 ...
line12 ---- line22 ---- line32 ...
line13 ... (3 Replies)
Hi All
I need a small help for the below format in making a small script in Perl or Shell.
I have a file in which a single line entries are broken into three line entries.
Eg:
I have a
pen and
notebook.
All i want is to capture in a single line in a separate file.
eg: I have a pen and... (4 Replies)
Dear all,
I have a file like this:
imput
scaffold_0 1
scaffold_0 10000
scaffold_0 20000
scaffold_0 25000
scaffold_1 1
scaffold_1 10000
scaffold_1 20000
scaffold_1 23283
and I want the output like this:
scaffold_0 1 scaffold_0 10000
scaffold_0 10000 scaffold_0 20000... (6 Replies)
Hi Friends,
I have a file1.txt
1001 jkilo yrhfm
200056 jhdf rjhwjkrh
3+u8jk5h3 uru ehjk
1002 jkfhk hfjkd
2748395 fdjksfh hefjkh
3hdfk ejkh kjhjke
In the above if you see the firt charcter of each line mentioned in red has a pattern .
I need to create another file where , the... (6 Replies)
Hi Everyone,
On my Linux box I have a text file having block of few lines and this block lines separated by one blank line. I would like to format and print these lines in such a way that this entire block of lines will come as single comma separated line & again next block of lines in next... (7 Replies)
i have a file (where the column values are separated by ' and the text can be enclosed in ~) which contains data in form of
4461,2,~Basic:
2 Years/Unlimited Miles
Drivetrain:
Gas Engine
2 Years/Unlimited Miles
Duramax Engine
3 Years/Unlimited... (2 Replies)
Hi
below is the input file snippet.
here i want that all the line which is coming after 1 shoud be in one line.
so for exanple if after 1 there is two lines which is starting with 2 should be combine in one line.
input file content
1,8091012,BATCH_1430903_01,21,T,2,808738,,,,21121:87:01,... (19 Replies)
Hi,
Our log4j file contents look like this:
2018-11-20T00:06:58,888 INFO ql.Driver: Executing command(queryId=hive_20181120000656_49af4ad0-1d37-4312-872c-a247ed80c181): CREATE TABLE RESULTS.E7014485_ALL_HMS_CAP1
AS SELECT name,dept
from employee
Where employee='Jeff'... (4 Replies)
Discussion started by: wahi80
4 Replies
LEARN ABOUT OPENSOLARIS
dca
dca(7D) Devices dca(7D)NAME
dca - Crypto Accelerator device driver
SYNOPSIS
pci108e,5454@pci-slot
pci108e,5455@pci-slot
pci108e,5456@pci-slot
pci14e4,5820@pci-slot
pci14e4,5821@pci-slot
pci14e4,5822@pci-slot
DESCRIPTION
The dca device driver is a multi-threaded, loadable hardware driver supporting Sun PCI-based (pci108e,5454) cryptographic accelerators,
such as the Sun Crypto Accelerator 1000.
The dca driver requires the presence of Solaris Cryptographic Framework for applications and kernel clients to access the provided ser-
vices.
EXTENDED DESCRIPTION
The dca driver maintains the following statistics:
3desjobs Total number of jobs submitted to the device for 3DES encryption.
3desbytes Total number of bytes submitted to the device for 3DES encryption.
rsapublic Total number of jobs submitted to the device for RSA public key operations.
rsaprivate Total number of jobs submitted to the device for RSA private key operations.
dsasign Total number of jobs submitted to the device for DSA signing.
dsaverify Total number of jobs submitted to the device for DSA verification.
rngjobs Total number of jobs submitted for pure entropy generation.
rngbytes Total number of bytes of pure entropy requested from the device.
rngsha1jobs Total number of jobs submitted for entropy generation, with SHA-1 post-processing.
rngsha1bytes Total number of bytes of entropy requested from the device, with SHA-1 post-processing.
Additional statistics may be supplied for Sun support personnel, but are not useful to end users and are not documented here.
The dca driver can be configured by defining properties in /kernel/drv/dca.conf which override the default settings. The following proper-
ties are supported:
nostats Disables the generation of statistics. This property may be used to help prevent traffic analysis, but this may inhibit sup-
port personnel.
rngdirect Disables the SHA-1 post-processing of generated entropy. This may give "truer" random numbers, but it may also introduce the
risk of external biases influencing the distribution of generated random numbers.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |SPARC |
+-----------------------------+-----------------------------+
|Availability |SUNWdcar |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
FILES
/kernel/drv/dca.conf dca configuration file
/kernel/drv/sparcv9/dca 64-bit ELF kernel driver (SPARC)
/kernel/drv/dca 32-bit ELF kernel driver (x86)
/kernel/drv/amd64/dca 64-bit ELF kernel driver (AMD64)
SEE ALSO cryptoadm(1M), kstat(1M), prtconf(1M), driver.conf(4), attributes(5)
Solaris Cryptographic Framework.
SunOS 5.11 14 Aug 2005 dca(7D)