10-03-2008
I checked out expect. that would be a great program to try for anyone else trying to do the same thing. I found out by searching the source code that there was a hidden option to run in batch mode. Thanks for the input.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am tasked with creating a front end 'menu' program where the users will type '1' to do this command or '2' to do that command. I have found some stuff that I can copy to do that but it looks too flimsy to roll out in a production envirionment. I was wondering if you guys might know of a more... (4 Replies)
Discussion started by: hedrict
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
i want to write a script that executes a program (exec?) .
this program then requires a filename as input.
how do i give it this input in the script so the program will be complete run and close by the script.
e.g.
exec prog.exe
program then asks for filename
"enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies
3. Shell Programming and Scripting
Problem:
I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
Discussion started by: iDdraig
1 Replies
4. Programming
Hey!
I'm new to C. I need to covert certain values using C. please see the below. I have figured out the logic to do it. Please provide some hints to do this with C
Logic:
If first position of POS = 0, shift POS to the left one byte.
If third position of POS = 0, move spaces to third... (1 Reply)
Discussion started by: rocker_me2002
1 Replies
5. Shell Programming and Scripting
Hi
Can you help me get the script for below requirement.
when i run below script
./script QM hostname
script should be working in below
here inputs are QM and hostname
by taking inputs it should work like below
QM=$1
if QM name ends with 1 $4 should be 51431
ends with ... (4 Replies)
Discussion started by: darling
4 Replies
6. Shell Programming and Scripting
Hi Friends,
I have a menu based tool which requires input/option to proceed further. How to make a shell script ?
eg: menu looks like
Get_data.sh
to continue (y/n) :
Here I need to key in "y" to proceed.
I want to prepare a script which should consider option y. (5 Replies)
Discussion started by: suresh3566
5 Replies
7. Shell Programming and Scripting
Hi there,
Say I have a list of IPs, I am running scripts on them. If the process hang.
I want to continue with the rest of the IPs.
10.11.1.1
10.11.1.2
10.11.1.3
10.11.1.4
10.11.1.5
10.11.1.6 <-- Process Hangs here
10.11.1.7
10.11.1.8
10.11.1.9
10.11.1.10
10.11.1.11
10.11.1.12
... (11 Replies)
Discussion started by: alvinoo
11 Replies
8. Shell Programming and Scripting
Hey, im fairly new to unix and Im trying to make this unix project that would display a menu and do the following.
MENU
===========================
(p, P) Print users info
(a, A) Add new user
(s, S) Search user
(d, D) Delete user
(x,X) Exit
Enter your choice:
Trying to... (3 Replies)
Discussion started by: ultimaxtrd
3 Replies
9. Programming
I'm implementing menu config based on curses terminal. for example:
$ xmake --menu
It automatically gets the options in the project to generate the menu configuration interface to implement the interactive configuration, like make menuconfig based Kconfig
example:
$ git clone... (0 Replies)
Discussion started by: waruqi
0 Replies
10. UNIX for Beginners Questions & Answers
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
LEARN ABOUT DEBIAN
ptbatcher
PTBATCHER(1) HUGIN PTBATCHER(1)
NAME
PTBatcher - CLI interface to Hugin Batch processor
SYNOPSIS
PTBatcher [options] -a input.pto
DESCRIPTION
PTBatcher Queues and processes stitching projects. Functionality is similar to the the GUI Hugin Batch Processor. The default action with
the -a parameter is to add the specified project to the stitching queue and exit.
The stitching queue may be processed by the GUI Hugin Batch Processor application, or by PTBatcher without a GUI, but not by both at the
same time. To process the queue with PTBatcher use the -b parameter.
OPTIONS
-a file
add project to queue. Unless -o option is present, the default prefix is appointed.
-o output prefix (together with -a option)
-l list all projects in batch queue
-c clear all projects from batch queue
-x id
remove project with specified id
-r reset all projects to waiting status
-b start batch process
-p use parallel processing (together with -b option)
-d delete .pto files when complete (together with -b option)
-s shutdown computer when complete (together with -b option)
-v verbose mode
-h print this help
SEE ALSO
hugin(1) PTBatcherGUI(1)
AUTHORS
Thomas Modes, Marko Kuder
"Version: 2011.4.0" 2011-12-02 PTBATCHER(1)