What do you mean by "any time"? Do you mean any time the script prompts you for input, or just whenever you press q? If you mean every time the script asks you for input, you could write a function like:
Then just call the function right after very read call. like:
Hi everyone,
I am writing a small menu driven program and have come across a problem i am having trouble solving. I am using Windows XP and i am developing this in the Unix Bash shell. I am trying to make it possible to exit the program from each of the five main interfaces. The code is as... (4 Replies)
hi all,
I am facing problem in shell scripting while using exit command, when ever i run a file using . ./<filename>, when i run the sae script as sh <filename> the script does not close the windows. since my script has function calls i have to use . ./ <filename>.
Could any one tell me... (8 Replies)
I'm using a while loop with an if statement. When the user choses a number, it will display a list of files. That works, the problem is q for quit won't exit script. How can I fix this? (10 Replies)
I have a script that run several subscripts. I need to find out how to do two things. First I would like to check for a file and if that file is not there I want to quit the entire script without running the rest of the script which contain subscripts. If the file is there, I want it to continue... (1 Reply)
Hey,
same problem. i want to check if files have been successfuly transferred after getting them back, but after I quit the ftp, nothing gets executed.
Difference from original post is that I get 226 and 221 feedbacks from the server.
226 Transfer complete.
2409 bytes received in 0.0086... (5 Replies)
Hi,
Here is my code to send read.txt to three servers.
col="prd167.mybank.com prd168.mybank.com bsprd169.mybank.com"
set -A look $col
for IndixList in ${look};
do
scp /tmp/read.txt admin@$IndixList:/tmp
done
This works and all the 3 servers gets the read.txt file.
However,... (8 Replies)
Hmmm.
I cannot figure out where to disable this warning message in Safari.
Google says to disable something in Safari Tabs preferences but my Macs do not have that option in Mojave.
Anyone know how to disable the following so when I quit Safari it simply quits without the "freeze the... (12 Replies)
Discussion started by: Neo
12 Replies
LEARN ABOUT DEBIAN
ngmx
ngmx(1) GROMACS suite, VERSION 4.5.4-dev-20110404-bc5695c ngmx(1)NAME
ngmx - displays a trajectory
VERSION 4.5.4-dev-20110404-bc5695c
SYNOPSIS
ngmx -f traj.xtc -s topol.tpr -n index.ndx -[no]h -[no]version -nice int -b time -e time -dt time
DESCRIPTION
ngmx is the GROMACS trajectory viewer. This program reads a trajectory file, a run input file and an index file and plots a 3D structure
of your molecule on your standard X Window screen. No need for a high end graphics workstation, it even works on Monochrome screens.
The following features have been implemented: 3D view, rotation, translation and scaling of your molecule(s), labels on atoms, animation of
trajectories, hardcopy in PostScript format, user defined atom-filters runs on MIT-X (real X), open windows and motif, user friendly menus,
option to remove periodicity, option to show computational box.
Some of the more common X command line options can be used: -bg, -fg change colors, -font fontname changes the font.
FILES -f traj.xtc Input
Trajectory: xtc trr trj gro g96 pdb cpt
-s topol.tpr Input
Run input file: tpr tpb tpa
-n index.ndx Input, Opt.
Index file
OTHER OPTIONS
-[no]hno
Print help info and quit
-[no]versionno
Print version info and quit
-nice int 0
Set the nicelevel
-b time 0
First frame (ps) to read from trajectory
-e time 0
Last frame (ps) to read from trajectory
-dt time 0
Only use frame when t MOD dt = first time (ps)
KNOWN PROBLEMS
- Balls option does not work
- Some times dumps core without a good reason
SEE ALSO gromacs(7)
More information about GROMACS is available at <http://www.gromacs.org/>.
Mon 4 Apr 2011 ngmx(1)