Hello All,,
I'm very new to Unix and I'm more in SAP ABAP. I have a requirement for a shell script which will accept one parameter as Input file name(with directory)
e.g : /sapdata/deubank/dbdirect/out/deu01deupe/in/deu01deupe20051207111320.pmt
In the shell script I have to make two more... (2 Replies)
Below is a description of what im trying to achieve:
Write a shell script to concatenate lists together, and output the resulting list. Do not include any argument that is a sub-list of the entire list. (The script will clean the list of any redundant items.) You must preserve the original order... (1 Reply)
Hi,
Using sed awk or perl I am trying to do something similar to
https://www.unix.com/shell-programming-scripting/105887-sed-awk-concatenate-lines-until-blank-line-2.html
but my requirement is slightly different. What I am trying to accomplish is to reformat a logfile such that all lines... (4 Replies)
i have a mega file in this format:
a,
b,
c,
d,
=
a2,
b2,
c2,
d2,
=
a3,
b3
=
i want to combine lines until = meet. the result should be :
a,b,c,d,
a2,b2,c3,d2
a3,b3 (13 Replies)
Hi All,
Can any one help me in finding the solution for concatenating two or more lines in a file and writing them to a temporary file.
for Example:
He is a wise student.
So he got first rank.
This is in a file i want the output as
He is a wise student so he got first rank. into a file... (3 Replies)
Hi Colleagues,
I need the help in the followind.
I execute this.
select count(*) from schema.tablew
the output is this.
select count(*) from schema.table
3955
I need the followind output.
select count(*) from schema.table 3955
Thank you for you help. (8 Replies)
Hi everyone,
I have two files, namely:
file1:
file1Col1Row1;file1Col2Row1;file1Col3Row1
file1Col1Row2;file1Col2Row2;file1Col3Row2
file1Col1Row3;file1Col2Row3;file1Col3Row3file2:
file2Col1Row1;file2Col2Row1;file2Col3Row1
file2Col1Row2;file2Col2Row2;file2Col3Row2... (0 Replies)
The file starts like this:
Directory: <path to the script>
Script: <script fife name>
#!bin/ksh
##Comments
<actual script>
What is the use of the first two lines in the script? What if I save the file without them? What will be the effect? They are not comments. Im very new to this,... (4 Replies)
I want to make a config file which contain all the paths.
i want to read the config file line by line and pass as an argument on my below function.
Replace all the path with reading config path line by line and pass in respective functions.
how can i achieve that?
Kindly guide.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
LEARN ABOUT MOJAVE
ident
ident(n) Identification protocol client ident(n)
__________________________________________________________________________________________________________________________________________________NAME
ident - Ident protocol client
SYNOPSIS
package require Tcl 8.3
package require ident ?0.42?
::ident::query socket ?callback?
_________________________________________________________________DESCRIPTION
The ident package provides a client implementation of the ident protocol as defined in RFC 1413 (http://www.rfc-edi-
tor.org/rfc/rfc1413.txt).
::ident::query socket ?callback?
This command queries the ident daemon on the remote side of the given socket, and returns the result of the query as a dictionary.
Interpreting the dictionary as list the first key will always be resp-type, and can have one of the values USERID, ERROR, and FATAL.
These response types have the following meanings:
USERID This indicates a successful response. Two more keys and associated values are returned, opsys, and user-id.
ERROR This means the ident server has returned an error. A second key named error is present whose value contains the error-type
field from the server response.
FATAL Fatal errors happen when no ident server is listening on the remote side, or when the ident server gives a response that does
not conform to the RFC. A detailed error message is returned under the error key.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category ident of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
ident, identification, rfc 1413
CATEGORY
Networking
COPYRIGHT
Copyright (c) 2004 Reinhard Max <max@tclers.tk>
ident 0.42 ident(n)