I have existing XML file as below, now based on input string in shell script on workordercode i need to create a seprate xml file
for e.g if we pass the input string as 184851 then it find the tag data from <workOrder>..</workOrder> and write to a new file and similarly next time if i pass the... (3 Replies)
Hi unix Gurus,
I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information.
For example
<SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (2 Replies)
Hi All,
My name is Prathyu and I am working as a ETL develper. I have one requirement to create a XML file based on the provided XSD file. As per the Datastage standards Key(repeatable) field does not contain any Null values so I am inserting some dummy tag line to that XML file.
... (14 Replies)
Hi All
Need some help with a unix shell script. I have a XML file as shown below:
<Root>
<Service>
<endPoint type="SOAP" protocol="http">
<provider>ABCD</provider>
<urlRewrite>/service/xyz/getAccountDetails</urlRewrite>
<timeout>30</timeout>
</endPoint>
</Service>
<Service>
<endPoint... (3 Replies)
Hi All,
I need a help on inserting a XML tag.
Actual input
<var>
<nam>abcd</nam>
<a1>.</a1>
</var>
if tag <a1>.</a1> is getting missed in XML like below
<var>
<nam>abcd</nam>
</var>
i need to insert wherever it is missed after <nam> tag and before </var> tag.
Could anyone... (3 Replies)
Hi,
I need to insert "Hello World" text into a file called hai.txt using shell scripting. Kindly help me.
For eg: If I open the file hai.txt by giving linux command cat hai.txt, the content of the file should have the text Hello World in it.
Thanks (5 Replies)
I have a shell script that does everything I need it to do. But, when I was testing it I realized it doesn't print the closing XML tag.... Does anyone know how to incorporate printing the XML tag with my script? I am using AWK any help would be appreciated. (4 Replies)
<Start>
<Header>
This is header section
</Header>
<Body>
<Body_start>
This is body section
<a>
<b>
<c>
<st>111</st>
</c>
<d>
<st>blank</st>
</d>
</b>
</a>
</Body_start>
<Body_section>
This is body section (3 Replies)
Hi Team,
I have a CSV file which I have to read through and needs to insert the content within an XML file using Python ONLY ( as most of the code base we have in python only). I managed to find the first part, missing how to insert to XML under "specific" tags.
cat input.csv... (0 Replies)
Hello,
I want to parse the contents of a multiline html tag
ex:
<html>
<body>
<p>some other text</p>
<div>
<p class="margin-bottom-0">
text1
<br>
text2
<br>
<br>
text3
</p>
</div>
</body> (15 Replies)
Discussion started by: SorcRR
15 Replies
LEARN ABOUT DEBIAN
telnetlogin
TELNETLOGIN(8) BSD System Manager's Manual TELNETLOGIN(8)NAME
telnetlogin -- login wrapper for telnetd
SYNOPSIS
telnetlogin [-h host] [-p] [-f username] [username]
DESCRIPTION
telnetlogin is a setuid wrapper that runs login(1). It is meant to be invoked by telnetd(8); the idea is to remove the necessity of running
telnetd as root.
telnetlogin should be installed mode 4750, user root, group telnetd. Then, telnetd may be run from /etc/inetd.conf as user ``nobody'', group
``telnetd'', and with the option -L path-to-telnetlogin.
telnetlogin accepts only the subset of options to login(1) shown above, in the order listed. This is the order telnetd 8 normally provides
them in. telnetlogin also does sanity checks on the environment variables TERM, and REMOTEHOST. It also insists that the standard input,
output, and error streams are open on a terminal, and that it is the process group leader of the foreground process of that terminal. After
checking all of these conditions, checking the values of the above environment variables for reasonable values, resetting signal handlers,
and so forth, it execs login.
SEE ALSO login(1), inetd.conf(5), inetd(8), telnetd(8)RESTRICTIONS
THIS IS PRESENTLY EXPERIMENTAL CODE; USE WITH CAUTION.
HISTORY
telnetlogin was written during the development of NetKit 0.17.
Linux NetKit (0.17) April 12, 2000 Linux NetKit (0.17)