Sponsored Content
Top Forums Shell Programming and Scripting Merge multiple lines into a single line Post 303000681 by dwdnet on Monday 17th of July 2017 05:10:51 PM
Old 07-17-2017
Thanks Don, definitely does help. I'll have to take some time to digest this.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Removing end of line to merge multiple lines

I'm sure this will be an easy question for you experts out there, but I have been searching the forum and working on this for a couple hours now and can't get it right. I have a very messy data file that I am trying to tidy up - one of the issues is some records are split into multiple lines: ... (4 Replies)
Discussion started by: tink
4 Replies

2. Shell Programming and Scripting

Merge multi-lines into one single line

Hi, Can anyone help me for merge the following multi-line log which beginning with a number and time: into one line. For each line need to delete the return and add a space. Please see the red color line. *****Original Log*****... (4 Replies)
Discussion started by: happyday
4 Replies

3. Shell Programming and Scripting

Help on Merge multi-lines into one single line

Hello, Can anyone let me know how to use Perl script to Merge following multi-lines into one single line... ***** Multi-line***** FILE_Write root OK Tue Jul 01 00:00:00 2008 cl_get_path file descriptor = 1 FILE_Write root OK ... (5 Replies)
Discussion started by: happyday
5 Replies

4. Shell Programming and Scripting

merge lines into single line based on symbol \t

The symbols are \t and \t\t (note: not tab) If the line starts with \t merge them into a single line upto symbol \t\t \t\t to end and start new line I able to join in a single line but not ending at \t\t and I completely confused help would be appreciated:b::D Input \ta tab XXXXXXXXXX \te... (5 Replies)
Discussion started by: repinementer
5 Replies

5. UNIX for Advanced & Expert Users

Merge a group of lines into single line

Hi Everybody, Below are the contents of the a text file .., SN = 8 MSI = 405027002277133 IKVALUE = DE6AA6A11D42B69DF6398D44B17BC6F2 K4SNO = 2 CARDTYPE = SIM ALG = COMP128_3 SN = 8 MSI = 405027002546734 IKVALUE = 1D9F8BAA73973D8FBF8CBFB01436D822 K4SNO = 2 CARDTYPE = SIM ALG =... (8 Replies)
Discussion started by: prasanth_babu
8 Replies

6. Shell Programming and Scripting

Multiple lines in a single column to be merged as a single line for a record

Hi, I have a requirement with, No~Dt~Notes 1~2011/08/1~"aaa bbb ccc ddd eee fff ggg hhh" Single column alone got splitted into multiple lines. I require the output as No~Dt~Notes 1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh" mean to say those new lines to be... (1 Reply)
Discussion started by: Bhuvaneswari
1 Replies

7. Shell Programming and Scripting

Merge multiple lines to one line when line starts with and ends with

example: comment Now_TB.table column errac is for error messages 1 - first 2 - second 3 -third ; in this example I need to be able to grab the comment as first word and ; as the last word and it might span a few lines. I need it to be put all in one line without line breaks so I can... (4 Replies)
Discussion started by: wambli
4 Replies

8. Shell Programming and Scripting

Merge multiple lines in one line

Hi guys, So i have a input file with several sequences aligned (fasta) >NC_005930 241 bp MNMINIFIINNIFDQFIPVKLSIFSLTSVGSIIA LSWVWINTKTHWAISRSNTP-SLLLNSL WTLLITNL-NEKTNPWAPWLFSLFLLCFSFNIMSLI-PYTF-SQ TSHLSFTFGLSLPIWIMVNIAGFKNNWKKKISHLLPQGTPIYLVPVMII IETISLFIQPLTLGFRLGANLLAGHLLIFLCSCTIWE... (6 Replies)
Discussion started by: andreia
6 Replies

9. UNIX for Dummies Questions & Answers

Need help combining txt files w/ multiple lines into csv single cell - also need data merge

:confused:Hello -- i just joined the forums. I am a complete noob -- only about 1 week into learning how to program anything... and starting with linux. I am working in Linux terminal. I have a folder with a bunch of txt files. Each file has several lines of html code. I want to combine... (2 Replies)
Discussion started by: jetsetter
2 Replies

10. UNIX for Beginners Questions & Answers

Merge multi-lines into one single line using shell script or Linux command

Hi, Can anyone help me for merge the following multi-line log which beginning with a " and line ending with ": into one line. *****Original Log***** 087;2008-12-06;084403;"mc;;SYHLR6AP1D\LNZW;AD-703;1;12475;SYHLR6AP1B;1.1.1.1;0000000062;HGPDI:MSISDN=12345678,APNID=1,EQOSID=365;... (3 Replies)
Discussion started by: rajeshlinux2010
3 Replies
KRB5_DIGEST(3)						   BSD Library Functions Manual 					    KRB5_DIGEST(3)

NAME
krb5_digest, krb5_digest_alloc, krb5_digest_free, krb5_digest_set_server_cb, krb5_digest_set_type, krb5_digest_set_hostname, krb5_digest_get_server_nonce, krb5_digest_set_server_nonce, krb5_digest_get_opaque, krb5_digest_set_opaque, krb5_digest_get_identifier, krb5_digest_set_identifier, krb5_digest_init_request, krb5_digest_set_client_nonce, krb5_digest_set_digest, krb5_digest_set_username, krb5_digest_set_authid, krb5_digest_set_authentication_user, krb5_digest_set_realm, krb5_digest_set_method, krb5_digest_set_uri, krb5_digest_set_nonceCount, krb5_digest_set_qop, krb5_digest_request, krb5_digest_get_responseData, krb5_digest_get_rsp, krb5_digest_get_tickets, krb5_digest_get_client_binding, krb5_digest_get_a1_hash -- remote digest (HTTP-DIGEST, SASL, CHAP) suppport LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5) SYNOPSIS
#include <krb5.h> typedef struct krb5_digest *krb5_digest; krb5_error_code krb5_digest_alloc(krb5_context context, krb5_digest *digest); void krb5_digest_free(krb5_digest digest); krb5_error_code krb5_digest_set_type(krb5_context context, krb5_digest digest, const char *type); krb5_error_code krb5_digest_set_server_cb(krb5_context context, krb5_digest digest, const char *type, const char *binding); krb5_error_code krb5_digest_set_hostname(krb5_context context, krb5_digest digest, const char *hostname); const char * krb5_digest_get_server_nonce(krb5_context context, krb5_digest digest); krb5_error_code krb5_digest_set_server_nonce(krb5_context context, krb5_digest digest, const char *nonce); const char * krb5_digest_get_opaque(krb5_context context, krb5_digest digest); krb5_error_code krb5_digest_set_opaque(krb5_context context, krb5_digest digest, const char *opaque); const char * krb5_digest_get_identifier(krb5_context context, krb5_digest digest); krb5_error_code krb5_digest_set_identifier(krb5_context context, krb5_digest digest, const char *id); krb5_error_code krb5_digest_init_request(krb5_context context, krb5_digest digest, krb5_realm realm, krb5_ccache ccache); krb5_error_code krb5_digest_set_client_nonce(krb5_context context, krb5_digest digest, const char *nonce); krb5_error_code krb5_digest_set_digest(krb5_context context, krb5_digest digest, const char *dgst); krb5_error_code krb5_digest_set_username(krb5_context context, krb5_digest digest, const char *username); krb5_error_code krb5_digest_set_authid(krb5_context context, krb5_digest digest, const char *authid); krb5_error_code krb5_digest_set_authentication_user(krb5_context context, krb5_digest digest, krb5_principal authentication_user); krb5_error_code krb5_digest_set_realm(krb5_context context, krb5_digest digest, const char *realm); krb5_error_code krb5_digest_set_method(krb5_context context, krb5_digest digest, const char *method); krb5_error_code krb5_digest_set_uri(krb5_context context, krb5_digest digest, const char *uri); krb5_error_code krb5_digest_set_nonceCount(krb5_context context, krb5_digest digest, const char *nonce_count); krb5_error_code krb5_digest_set_qop(krb5_context context, krb5_digest digest, const char *qop); krb5_error_code krb5_digest_request(krb5_context context, krb5_digest digest, krb5_realm realm, krb5_ccache ccache); const char * krb5_digest_get_responseData(krb5_context context, krb5_digest digest); const char * krb5_digest_get_rsp(krb5_context context, krb5_digest digest); krb5_error_code krb5_digest_get_tickets(krb5_context context, krb5_digest digest, Ticket **tickets); krb5_error_code krb5_digest_get_client_binding(krb5_context context, krb5_digest digest, char **type, char **binding); krb5_error_code krb5_digest_get_a1_hash(krb5_context context, krb5_digest digest, krb5_data *data); DESCRIPTION
The krb5_digest_alloc() function allocatates the digest structure. The structure should be freed with krb5_digest_free() when it is no longer being used. krb5_digest_alloc() returns 0 to indicate success. Otherwise an kerberos code is returned and the pointer that digest points to is set to NULL. krb5_digest_free() free the structure digest. SEE ALSO
krb5(3), kerberos(8) HEIMDAL
February 18, 2007 HEIMDAL
All times are GMT -4. The time now is 04:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy