10-10-2011
What, exactly, are you trying to do?
Not your code, your ultimate goal.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm running a background job in my bash script.
But when the job quit, bash echos a message like
"+ Done xterm".
This is annoying.
How can I suppress it? (5 Replies)
Discussion started by: momiji
5 Replies
2. Shell Programming and Scripting
I'm creating a bsh shell to unzip a file from one directory into another. The directory that holds the zip files has zip files constantly being added to it, so I am testing it before it does the unzip and more.
Right now my code looks like this:
unzip -tq $ZIP_PATH/$ZIP_NAME >/dev/null
if ... (5 Replies)
Discussion started by: skwyer
5 Replies
3. Shell Programming and Scripting
Hi All
this is a simple script
#! /bin/bash
FileCnt=`ls -lrt $DIR/* | wc -l`
echo $FileCnt
how could i escape the error msg if there are no files in $DIR
ls: /home/sayantan/test/files/cnt/*: No such file or directory
0
Looking forward for a quick reply
Regards, Newbie... (3 Replies)
Discussion started by: newbie07
3 Replies
4. Linux
I have script 3 scripts
1 parent
2 children
child1
child2
In the code below the 2 child processes fire almost Instantaneously in the background, Is that possible to know the status of pass/fail of each process "as it happens" ?
In the present scenario although Child2... (5 Replies)
Discussion started by: jville
5 Replies
5. Shell Programming and Scripting
I have script 3 scripts 1 parent (p1) and 2 children child1 and child2
I have script 3 scripts
1 parent
2 children
child1
child2
In the code below the 2 child processes fire almost Instantaneously in
the background, Is that possible to know the status of pass/fail of each
process... (12 Replies)
Discussion started by: jville
12 Replies
6. Shell Programming and Scripting
biff n
pdir=`pwd`
# check for null parameter
if ; then
echo current directory $pdir
ls -latr
echo
else
p1=$1
#check for directory entry only
if ; then
pdir=$p1
echo current directory $pdir
cd $pdir
ls -latr
echo
#check for directory entry and file... (2 Replies)
Discussion started by: wtolentino
2 Replies
7. Shell Programming and Scripting
Running centos 2.6, I have a bash script in which I'd like to run a number of background threads in parallel, tee'ing the results of the entire script to one file, while tee'ing the result of each background thread to another.
Here's what I'm doing, where the number of csv files control the... (1 Reply)
Discussion started by: heatlamp
1 Replies
8. Shell Programming and Scripting
I am trying to use a loop to start tasks 0-3, running 0,1,2 in the background with &.
FOLDSET=( 0 1 2 3 )
for FOLDSET in ${FOLDSET}
do
if ; then
BACKGRD="&"
else
BACKGRD=""
fi
# start task $FOLDSET
task1 -nogui -ni -p $PROJ \
epochs=$EPOS ... (3 Replies)
Discussion started by: LMHmedchem
3 Replies
9. Shell Programming and Scripting
How can I suppress a error message being given by awk command in bash shell? (2 Replies)
Discussion started by: Prachi Gupta
2 Replies
10. Shell Programming and Scripting
In the below bash function multiple variants are input and stored in a variable $variant, and each is written to an out file at c:/Users/cmccabe/Desktop/Python27/out.txt stored on a separate line.
# enter variant
phox2b() {
printf "\n\n"
printf "What is the id of the patient getting... (0 Replies)
Discussion started by: cmccabe
0 Replies
LEARN ABOUT DEBIAN
freeciv-modpack
FREECIV(6) Games Manual FREECIV(6)
NAME
freeciv-modpack - Custom content installer for the Freeciv game
SYNOPSIS
freeciv-modpack [ -h|--help ] [ -v|--version ]
DESCRIPTION
Freeciv is a free turn-based multiplayer strategy game, in which each player becomes the leader of a civilization, fighting to obtain the
ultimate goal: To become the greatest civilization.
Players of Civilization II(R) by Microprose(R) should feel at home, since one aim of Freeciv is to have compatible rules.
Freeciv is maintained by an international team of coders and enthusiasts, and is easily one of the most fun and addictive network games out
there!
This is the custom content installer program - see also freeciv-server(6) freeciv-client(6) .
This program allows users to select and download add-on content ("modpacks") for Freeciv from the Internet, either from a list maintained
by the Freeciv team, or by using a URL obtained by other means. It takes care of installing the files in the correct place under the user's
home directory for this version of Freeciv; it does not install anything for system-wide use.
This manual page only lists the command line arguments. For details regarding the options when using freeciv-modpack see the documentation
at the Freeciv website <http://www.freeciv.org/> as well as the documentation which is part of the Freeciv distribution.
OPTIONS
All options have a short form (single hyphen and single letter) and a long form (double hyphen and a complete word); their effects are
identical.
-h, --help
Prints a short summary of the command line options.
-v, --version
Prints the version number and exits.
FILES
freeciv-modpack installs files to the following subdirectory of the user's home directory:
o .freeciv/2.3/
ENVIRONMENT
freeciv-modpack accepts these environment variables:
HOME Specifies the user's home directory.
http_proxy
Set this variable accordingly when using a proxy.
LANG or LANGUAGE
Sets the language and locale on some platforms.
LC_ALL or LC_CTYPE
Similar to LANG (see documentation for your system).
USER Specifies the username of the current user.
BUGS
Please report bugs to the Freeciv bug tracker <http://gna.org/projects/freeciv/> .
MORE INFO
See the Freeciv homepage <http://www.freeciv.org/> .
Updates and new info is first posted there.
AUTHORS
The Freeciv Team <freeciv-dev AT gna.org>.
SEE ALSO
freeciv-server(6) freeciv-client(6)
December 10th 2011 FREECIV(6)