Hi,
Iam calling a C program from a Unix shell script. The (C) program reads encrypted username/password from a text file , decrypts and returns the decrypted string.
Is there any way i can return the decrypted string to Unix shell program.
My shell script uses the output of the program to... (11 Replies)
I have wrriten a script to call sql script to do some work in database. However, the script couldn't be executed. The only information was: ksh: ./updt_attrib.ksh cannot execute. Please help me to identify where the problem is. I post script here for your reference. Thanks a lot.
#!/bin/ksh
... (8 Replies)
Hi,
I'm having a requirement where I need to call a C program from a shell script and return the value from the C program to shell script.
I refered a thread in this forum. But using that command in the code, it is throwing an error
clear_text_password=$(get_password)
Error: bash:... (24 Replies)
Hi all, i'm pritty new to chell scripting
I'm trying to find a way to return a value to shell without it executing. is there a special character that will encase a sting including the command to a shell without executing, so waiting for the user to press enter.
say i wanted to return a value... (3 Replies)
Hi,
I need help urgently for following issue. Pls help me to resolve this issue.
I am calling sql script file(file1.sql) from UNIX Shell Script(script1.ksh) using sql plus and trying to create flat file that contains all records returned from SQL query in SQL script(file1.sql)
I given... (6 Replies)
I want to execute a shell script from sqlplus prompt and get its output back to sqlplus. Is this possible?
if yes just give me an example for doing that. (2 Replies)
Hi All,
My program flow is as below
Windows batch -- > Cygwin batch --> zsh script
There are multiple Cygwin batch scripts that are called from Windows batch file . But when i am executing the first cygwin batch script the control goes to the zsh file and executes and stoping from... (1 Reply)
Hello All,
I have a UNIX script which will prepare anonymous oracle pl/sql block in a temporary file in run time and passes this file to sqlplus as given below.
cat > $v_Input_File 2>>$v_Log << EOF
BEGIN
EXECUTE IMMEDIATE 'ALTER SESSION FORCE PARALLEL DML PARALLEL 16';
EXECUTE... (1 Reply)
Hello All,
I have exactly same issue @vikas_trl had in following link:
https://www.unix.com/shell-programming-and-scripting/259854-control-not-returning-sqlplus-calling-unix-shell-script.html
I wonder if he or somebody else could find the issue's cause or the solution.
Any help would... (4 Replies)
Discussion started by: RicardoQ
4 Replies
LEARN ABOUT DEBIAN
tc2html-toc
TC2HTML-TOC(1) General Commands Manual TC2HTML-TOC(1)NAME
tc2html-toc - table of contents processor for tc2html
SYNTAX
tc2html-toc file ...
DESCRIPTION
tc2html is a postprocessor for troffcvt that produces Hypertext Markup Language (HTML). tc2html is capable of generating a table of con-
tents (TOC). However, since TOC entries cannot all be known until the entire input document has been read, tc2html writes the TOC near the
end of the HTML document.
To handle this problem, tc2html-toc examines tc2html output for a table of contents and moves it to the correct location. tc2html-toc is
invoked for your automatically if you use troff2html (which also invokes tc2html). If you run tc2html manually, you must also run tc2html-
toc manually.
tc2html and tc2html-toc cooperate by means of the following conventions. If tc2html writes a TOC, it surrounds them with the following two
HTML comments:
<!-- TOC BEGIN -->
<!-- TOC END -->
If the user wishes to explicitly specify a location for the TOC, this may be done by invoking the .H*toc*title request in the document.
This request writes a TOC title followed by this HTML comment:
<!-- INSERT TOC HERE -->
In addition, macro package redefinitions used with tc2html can make a guess about where the TOC should be located in the absence of an
explicit location marker. To do so, a redefinition can write the following advisory marker comment:
<!-- INSERT TOC HERE, MAYBE -->
For example, redefinitions for the -man macros can write an advisory location for the TOC after the .TH macro invocation has been seen.
Given these conventions, tc2html-toc reads the input and examines it for the TOC and TOC location. The input is written unchanged to the
output if no TOC is found. Otherwise, the locations listed below are used to reposition the TOC (with locations listed first taking prior-
ity):
o The position of the TOC location marker.
o The position of the advisory TOC location marker.
o The beginning of the <BODY> part of the document.
SEE ALSO troffcvt(1), tc2html(1), troff2html(1)WHO-TO-BLAME
Paul DuBois, dubois@primate.wisc.edu.
DIAGNOSTICS
tc2html-toc exits with an error if it discovers that the TOC location marker lies within the TOC itself.
TC2HTML-TOC(1)