12-03-2008
Stderr & stdout
I am unsure where and how to place stderr and stdout to a file in this while loop. I have attempted many ways and it is not working.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
here's my code:
ls -lt | /usr/bin/egrep `date +"%Y%m%d(05|06|07|08|09|10|11|12|13|14|15|16|17|18|19)"` | \
/usr/bin/egrep -i .dat | /usr/bin/awk '{print $9}' > $LockboxFile1
if ]
then ... (2 Replies)
Discussion started by: sytycd712
2 Replies
2. UNIX for Dummies Questions & Answers
Hi
I'm currently putting together a script that will grep a set of data for a particular input, specified by the user.
I'm getting myself all tangled up with my Echo's and reads.
What i'm looking to do is get it so that it prompts the user to enter a value (echo) and then uses their input... (5 Replies)
Discussion started by: Great Uncle Kip
5 Replies
3. Shell Programming and Scripting
Hi All,
I am facing a problem while taking input from user in Shell Script. Basically , I want to read a file line by line. And I want to remove certain lines of that file.But before removing those lines , I need to ask the user whether user wants to remove the lines. If user inputs "Yes" , the... (3 Replies)
Discussion started by: swapnil.nawale
3 Replies
4. Shell Programming and Scripting
Legends,
Please help me to come out of the below Bermuda triangle.
I have four inputs in a shell script: A B C D
Now, If A is passed by user then, B C D will be ignored.
If C is passed by user, then A B D will be ignored.
Regards,
Sandy (11 Replies)
Discussion started by: sdosanjh
11 Replies
5. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
6. Shell Programming and Scripting
Hi,
I'm working on a script which has to copy multiple files from one server to another server. The list of files that are to be copied is present in a file say input.txt.
vi input.txt
abc.c
welcome.c
new.c
welcome1.c
for ftp'ing a single file say 'new.c' the following code... (2 Replies)
Discussion started by: i.srini89
2 Replies
7. Shell Programming and Scripting
I need to install a bin file in UNIX which requires user interaction for giving some information like user id , path, sid etc. All these information is stored in a properties file in the same location.
So if i give ./file.bin -f propfile.properties will it install the file taking all the... (1 Reply)
Discussion started by: coolmohere
1 Replies
8. Shell Programming and Scripting
while read myhosts
do
while read discovered
do
echo "$discovered"
done < $LOGFILE | grep -Pi "|" | egrep... (7 Replies)
Discussion started by: SkySmart
7 Replies
9. Shell Programming and Scripting
Hi,
Below is my requirement
File1:
svasjsdhvassdvasdhhgvasddhvasdhasdjhvasdjsahvasdjvdasjdvvsadjhv
vdjvsdjasvdasdjbasdjbasdjhasbdasjhdbjheasbdasjdsajhbjasbjasbhddjb
svfsdhgvfdshgvfsdhfvsdadhfvsajhvasjdhvsajhdvsadjvhasjhdvjhsadjahs
File2:
sdh
hgv
I need a command such that... (8 Replies)
Discussion started by: imrandec85
8 Replies
10. Shell Programming and Scripting
I was writing a shell script, where i need to run a command through script and then take input from user and later terminate it. i am not sure how to take input in a proper format immediately after a command.
example: below command line is used to import some data in to database (LDAP)... (3 Replies)
Discussion started by: Mridul17
3 Replies
LEARN ABOUT DEBIAN
gl-117
GL-117(6) gl-117 overview GL-117(6)
NAME
gl-117 - an OpenGL action flight simulator
SYNOPSIS
gl-117 [-dlevel -h -v]
DESCRIPTION
gl-117 is an OpenGL and SDL based action flight simulator written in ISO C++. Enter the Eagle Squadron and succeed in several challanging
missions leading though different landscapes. Five predefined levels of video quality and an amount of viewing ranges let you perfectly
adjust the game to the performance of your system. The game provides joystick and mouse support, sound effects, and music.
OPTIONS
-dlevel
Set the debug level to level in [0..5]. '0' means quiet and will avoid any output, '1' will log fatal errors causing the program to
crash on stderr, '2' will also print exceptions on stderr, '3' will add warnings on stdout, '4' prints additional information (pre-
defined) on stdout, and '5' gives developer specific messages on stdout.
-h Print a short summary on stdout and then quit immediately.
-v Display the version number of gl-117 and then quit immediately.
CONFIGURATION
gl-117 uses a predefined working directory ".gl-117" in the user's home directory to load and store all savegame files and read the plain
text configuration files "conf" and "conf.interface". If there are no config files available, gl-117 will create them using standard set-
tings. The contents of the files are quite self-explanatory.
DOCUMENTATION
Please look at the gl-117 user manual (gl-117.pdf) for installation instructions and further gameplay related descriptions.
COPYRIGHT
gl-117 is distributed under the terms of the GPL.
AUTHORS
Thomas A. Drexl (tom.drexl@gmx.de)
27 February 2003 GL-117(6)