I am trying to code a ksh script that will check to see if all 26 incoming ftp files have been received before proceeding to the next function, which is to rename each file.
Here is the pseudo-code of what I am trying to do:
<<STEP_1>>
IF all ALS files have been transmitted then... (2 Replies)
dear all.. i need help
i have data
ID,A,B,C,D,E,F,G,H --> header
917188,4,1,2,1,4,6,3,5 --> data
i want output :
ID,OUT1,OUT2,OUT3 --> header
917188,3,3,2
where OUT1 is count of 1 and 2 from $2-$9
OUT2 is count of 3 and 4 from $2-$9... (3 Replies)
Hi all,
I want to write a awk script that counts unique IPs that have received one special error.
For example
25-04-2012;192.168.70.31;1254545454545417;500.0;SUCCESS
25-04-2012;192.168.70.32;355666650914;315126423993;;General_ERROR_23
30-04-2012;192.168.70.33;e;null;null;Failure... (2 Replies)
Hi all,
I want to write a awk script that counts unique IPs that have received one special error.
For example
25-04-2012;192.168.70.31;1254545454545417;500.0;SUCCESS
25-04-2012;192.168.70.32;355666650914;315126423993;;General_ERROR_23
30-04-2012;192.168.70.33;e;null;null;Failure... (4 Replies)
Hi All,
i have a folder in which we receive 6 files daily. the file name will be appended with date for ex : files that we receive on 1/9/2013 will be like file1_20130108.txt.zip
file1_20130108.txt
file2_20130108.txt.zip
file2_20130108.txt
file3_20130108.txt.zip
file3_20130108.txt
the... (3 Replies)
Hi All,
I have dual boot on my laptop - Win8 And linuxMint.
From linuxmint i had copied all my data found on the NTFS partitions (on my laptop) to an
external hard drive (formatted with ext3). i used rsync for this.
Now after my hard disk crashed, am restoring the data back from ext3... (2 Replies)
hi All, Any one answer my requirement.
I have source location
src_dir="/home/oracle/arun/IRMS-CM"
My Target location
dest_dir="/home/oracle/arun/LiveLink/IRMS-CM/$dc/$pc/$ct"
my source text files check with below example.text file content
$fn "\t" $dc "\t" $pc "\t" ... (3 Replies)
Hi All
could u help me, i want to count data per minutes to be 5 minutes.
sample data like below :
23:40 187
23:41 200
23:42 178
23:43 171
23:44 161
23:45 145
23:46 172
23:47 163
23:48 174
23:49 174expectation :
23.40 - 23.44 897
23.45 - 23.49 828thanks (2 Replies)
Dears,
I am looking for a script which will work as a watch directory.
I ha directory which keep getting files in every 10 mins and some time delay.
I want to monitor if the directory getting the files in every 10 mins if not captured the last received file time and calculate the delay.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
LEARN ABOUT CENTOS
sasl_decode
sasl_decode(3) SASL man pages sasl_decode(3)NAME
sasl_decode - Decode data received
SYNOPSIS
#include <sasl/sasl.h>
int sasl_decode(sasl_conn_t *conn,
const char * input,
unsigned inputlen,
const char ** output,
unsigned * outputlen);
DESCRIPTION
sasl_decode decodes data received. After successful authentication this function should be called on all data received. It decodes the data
from encrypted or signed form to plain data. If there was no security layer negotiated the output is identical to the input.
output contains the decoded data and is allocated/freed by the library.
One should not to give sasl_decode more data than the negotiated maxbufsize (see sasl_getprop).
Note that sasl_decode can succeed and outputlen can be zero. If this is the case simply wait for more data and call sasl_decode again.
RETURN VALUE
Returns SASL_OK on success. See sasl_errors(3) for meanings of other return codes.
CONFORMING TO
RFC 4422
SEE ALSO sasl(3), sasl_errors(3), sasl_encode(3)SASL 10 July 2001 sasl_decode(3)