01-27-2006
lookup between 2 files ( korn shell)
Hello.,
thanks guys for your suggestions. let me try and then i will get back to you
tx
pavi
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello!!!
I need a korn shell script in AIX that inside sftp environment, changes a remote directory, lists the files inside it, and stores in an array.
I got it working before make a sftp, but after.. I can't..
The way it is, it lists the files in local path... so.. not what I want, but... (1 Reply)
Discussion started by: alienET
1 Replies
2. Shell Programming and Scripting
How do I make the below ksh to process all of the files inside a user specified directory?
Currently it can only process one file at a time.
#!/bin/ksh
tr -s '\11 ' ' ' < $1 > temp0
sed -e 's/,//g' temp0 > temp1
cut -d' ' -f1,4,5 temp1 > final_output
rm temp0 temp1 (3 Replies)
Discussion started by: stevefox
3 Replies
3. UNIX for Dummies Questions & Answers
I want to FTP multiple files in a directory that the files were created since midnight of the same day using korn shell. I can use the "find" command using -newer arguement that compares against a time stamp file. The script identifies the files, I can't use a variable = `find . ` as the... (2 Replies)
Discussion started by: lambjam
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have two text files containing records in following format:
file1 format is:
name1 age1 nickname1 path1
name2 age2 nickname2 path2
file 1 example is:
abcd 13 abcd.13 /home/temp/abcd.13
efgh 15 efgh.15 /home/temp/new/efgh.15 (4 Replies)
Discussion started by: alrinno
4 Replies
5. UNIX for Dummies Questions & Answers
hello,
i want to know how to initialize a file to an empty one in korn shell scripting? i'm using a file name and building it during a while loop using >>. The problem occurs when the file is not empty before reaching the while loop. therefore, i want to initialize it before the loop to get... (6 Replies)
Discussion started by: alrinno
6 Replies
6. Shell Programming and Scripting
Write a KSH script called cleanse which displays the name of each file in a given directory and allows the user to interactively decide whether or not to keep or delete the specific file.
Notes: Again, please check for errors.
can any one help on this problem ?? (1 Reply)
Discussion started by: babuda0059
1 Replies
7. Shell Programming and Scripting
how do you show each filename in a giving directory and delete the specific file in korn script
i was thinking using ls rm ? but i cant make it work (0 Replies)
Discussion started by: babuda0059
0 Replies
8. Shell Programming and Scripting
Hello all. This may seem like a dumb/easy question but right now I have a little script I made that uses rsync to sync a directory that has files in it that may or may not be complete files. I want to come up with a better solution for this. What it is is I have a directory lets say /incomplete... (4 Replies)
Discussion started by: linuxn00b
4 Replies
9. Shell Programming and Scripting
Hi All
I need to pass country code into a pipe delimited file for lookup.
It will search country code (column 3) in the file, if the country code matched, it will return value from other columns.
Here is my mapping file.
#CountryName|CountryRegion|CountryCode-3|CountryCode-2... (5 Replies)
Discussion started by: lafrance
5 Replies
10. Shell Programming and Scripting
Hello All , I am new to this Forum,
I am trying to write a script to combine two data files with 1 column in common and others columns are different .
File1
Apple 29
tomatao 4
grapes 25
File2
Apple fruit
tomatao veg
grapes fruit
other (3 Replies)
Discussion started by: gagan0119
3 Replies
MAZEOFGALIOUS(6) Games Manual MAZEOFGALIOUS(6)
NAME
mog - Maze of Galious
SYNOPSIS
mog
DESCRIPTION
This manual page documents briefly the mog command. This manual page was written for the Debian distribution because the original program
does not have a manual page.
mazeofgalious is a is a very adictive game where you have to kill thousands of enemies, collect items in order to obtain new powers, and
defeat some really great guys at the end of each level. You are free to go everywhere you want from the beginning of the game, you have to
choose very carefully the order in which you visit all the rooms in the huge map if you want to keep your character to stay alive. The map
is structures in a main map (called the castle), and 10 submaps (called the worlds), initially you are in the castle, and you have to find
the keys that open the doors to go to each of the worlds. To complete the game, you have to defeat the boss at the end of each one of the
10 worlds. You are free to revisit each world as often as you want, in order to see if you have missed something. To defeat all 10 beasts,
you control two characters: Popolon and Aphrodite, and each one has special abilities, i.e. Popolon has a greater ability to jump and
Aphrodite is able to dive.
AUTHOR
This manual page was written by Gurkan Sengun <gurkan@linuks.mine.nu>, for the Debian project (but may be used by others).
March 26, 2005 MAZEOFGALIOUS(6)