12-14-2006
It sounds like you may want a utility called expect - it lets you create fairly complex interactive dialogues with a program - from a script.
expect scripts are easier to create than C code...
The here document - do you know what those are? Will they meet your needs?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am taking an intro to unix class and I can not figure out how to do part of the question. I am writing script to be exictued by a program in the tutoral.
Question:
Write every line containing the word ``delete'' produced by ``man mail'' into a file called ``delete''. Hint: What does using... (1 Reply)
Discussion started by: weathergirl
1 Replies
2. UNIX for Dummies Questions & Answers
Can anyone tell me if there is a way to remove the encryption from Data CDs by UNIX? Or does anyone know of a program that can remove the encryption?
I would much appreciate it!
Thanks,
-Peaves (2 Replies)
Discussion started by: Peaves
2 Replies
3. UNIX for Dummies Questions & Answers
Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies
4. UNIX for Dummies Questions & Answers
I'm new to unix commands and am wondering how you could create a page with html tags in it. echo "<b>Test</b>" > test.html doesn't work because of the tags. How would I do this. (4 Replies)
Discussion started by: roger19
4 Replies
5. Shell Programming and Scripting
If given some output such as:
"I'm having a senior moment"
How do you print the last six characters to the screen?
I'm thinking with awk or sed but can't remember how. (1 Reply)
Discussion started by: stepnkev
1 Replies
6. Shell Programming and Scripting
i am doing ls -la
in the out put , first line is as
total 41621
What is this total? (2 Replies)
Discussion started by: Saurabh78
2 Replies
7. Shell Programming and Scripting
Hi,
Please don't berate me over the simplicity of these questions. I have recently gotten into bash shell scripting and enjoy it quite a bit. One thing I have not found the answer to though is when naming a shell script, what extension is normally used (ie myscript.?)? Also where is the standard... (5 Replies)
Discussion started by: msb65
5 Replies
8. Shell Programming and Scripting
I am having trouble making this statement work. I am passing in a number value for the number of days to keep archive logs for and wanted to make sure that it is a number. I have a script that will return 1 for is a number and 0 for is not a number. I also want to make sure that the number is not... (2 Replies)
Discussion started by: gandolf989
2 Replies
9. Shell Programming and Scripting
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Discussion started by: torchij
16 Replies
10. Red Hat
Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
LEARN ABOUT DEBIAN
euktopst
EUKTOPST(1) Eukleides Manual EUKTOPST(1)
NAME
euktopst - Eukleides interpreter to PSTricks
SYNOPSIS
euktopst [OPTION...] FILE
DESCRIPTION
Eukleides is a computer language devoted to elementary plane geometry. It aims to be a fairly comprehensive system to create geometric
figures, either static or dynamic. It allows to handle geometric types of data like points, vectors, lines, circles, or conics.
The euktopst program interprets Eukleides scripts into PSTricks figures. This program is mainly used by the scripts euktoeps(1), eukto-
tex(1), and euktopdf(1) which then run latex(1) and other utilities to produce various types of output.
OPTIONS
-l, --locale[=LANG]
Use localized keywords. With no argument given, the current locale is set to the value of the LANG environment variable. Otherwise
LANG has to be a valid locale identifier, e.g. 'fr_FR' or 'fr_FR.utf8', depending on the default charmap. This feature may be dis-
abled.
-o, --output[=OUTPUTFILE]
Set an output file name. With no argument given, the output stream is set to standard output.
-#, --interactive=STRING
Modify interactive variables.
-a, --animate=STRING
Animate interactive script.
-b, --batchmode[=DATAFILE]
Don't stop for input. If given, use DATAFILE instead of standard input.
-v, --version
Print version number and exit.
-h, --help
Print immediate help and exit.
AUTHOR
Christian Obrecht <obrecht at eukleides dot org>.
SEE ALSO
Eukleides info pages for full documentation.
eukleides(1), euktoeps(1), euktotex(1), euktopdf(1).
Eukleides 2010/02/16 EUKTOPST(1)