I have a file, a.asc which is generated from a shell script:
-----BEGIN PGP MESSAGE-----
Version: PGP 6.5.8
qANQR1DBwE4DR5PN6zVjZTcQA/9z5Eg94cwYdTnC7v+JUegQuJwHripqnyjFrEs/ejzKYCNmngbHHmf8V4K3uFkYyp74aFf+CdymA030RKs6ewOwkmqRW19oIXCgVe8Qmfg+/2KTq8XN
=0QSP
-----END PGP MESSAGE-----
I want... (12 Replies)
Ok, so I have this script that was provided to me by one of the posters on this site.
This script seems to be perfect. However, since this is a telnet script, i need to add an if then statement to it but dont know how to do it.
What i want to do is to have this script spit out a certain... (3 Replies)
Hi *
I've just wanted to ask you if it's possible to modify the input file by using awk.
Let me explain what I need:
I need to change the value $4 from "defaults" to "nodev" in my text file. I've tried to use a string function called "sub" and it works. But I can't figure it out how to... (6 Replies)
Hello,
I have 2 files. One has a list of serial numbers:
12345_7
2345_9
35454
4759:1
PEP8794
The other is an excel file, with multiple columns, separated by tab:
12345_7 ... ... .. .. .. .. ..
2345_9 ... ... .. .. .. .. ..
35454 ... ... .. .. .. .. ..
4759:1 ...... (4 Replies)
I have text file with lines as shown here. Each row has 11 columns separated by tab. In each row, i want to split the 8th column such that the output should look like shown below. Here value in the 9th column is DP value and in the 10th column is MQ value followed by the values after resource.EFF=.... (15 Replies)
Hi All,
I want to modify(changing the status from "on" to "off" status of Stage-element value from the below xml file using sed or awk:
File Name: global.xml
<?xml version="1.0" encoding="UTF-8"?>
<config>
<widget>
<name>HTTP-POOL</name>
<attributes>
... (5 Replies)
Hi folks,
I have a scenario to convert the update statements into insert statements using shell script (awk, sed...) or in database using regex.
I have a bunch of update statements with all columns in a file which I need to convert into insert statements.
UPDATE TABLE_A SET COL1=1 WHERE... (0 Replies)
Hi Guys,
i world like to do the following with awk,
i have the the complete username
example in a file a have some names
Mario Rossi
John Doe
i would like to convert this name in this format from file with awk
Mario,Rossi,"Mario Rossi ",m.rossi_ext@mydomain.com,$TRUE,
John,Doe,"John... (7 Replies)
Hello everyone!
I have thousands of csv files I have to import into a Database table. As usually the files aren't perfect. For example they have a different number of columns and some weird columns.
The second problem is, that I have to add 3 parts of the filename into 3 rows in the... (6 Replies)
Discussion started by: elRonaldo
6 Replies
LEARN ABOUT SUNOS
mlib_signalalaw2ulaw
mlib_SignalALaw2uLaw(3MLIB) mediaLib Library Functions mlib_SignalALaw2uLaw(3MLIB)NAME
mlib_SignalALaw2uLaw - ITU G.711 m-law and A-law compression and decompression
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalALaw2uLaw(mlib_u8 *ucode, const mlib_u8 *acode, mlib_s32 n);
DESCRIPTION
The mlib_SignalALaw2uLaw() function performs ITU G.711 m-law and A-law compression and decompression in compliance with the ITU (Former
CCITT) G.711 specification.
PARAMETERS
The function takes the following arguments:
ucode m-law code array.
acode A-law code array.
n Number of samples in the source array.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO mlib_SignalALaw2Linear(3MLIB), mlib_SignalLinear2ALaw(3MLIB), mlib_SignalLinear2uLaw(3MLIB), mlib_SignaluLaw2ALaw(3MLIB), mlib_Signalu-
Law2Linear(3MLIB), attributes(5)SunOS 5.10 9 Nov 2004 mlib_SignalALaw2uLaw(3MLIB)