I am doing a grep of the piped output from ps command as shown below.
I am grepping for the pattern ora_dbw* . But, in the result set I am seeing strings with ora_dbr* as well like ora_dbrm_SDLM1DAS3 as shown below. Any idea why is this happening ?
hi,
I have this script which gives me the result...
#! /usr/bin/sh
set -x
cd /home/managar
a=1
while true
do
if
then
echo " File log.txt exists in this directory "
exit 0
fi
echo " File has not arrived yes..."
sleep 3
let a=a+1
if
then (1 Reply)
I have written a shell script which looks like below:
grep -v ',0,' ./DATA/abc.001 > ./DATA/abc.mid
egrep $GREPSEARCH ./DATA/ebc.mid > ./DATA/abc.cut
the variable GREPSEARCH has values like the below:
... (3 Replies)
Hi all
Here I came accross a situation which i am unable to reason out...
snippet 1
psg ServTest | grep -v "grep" | grep -v "vi" | awk '{
pgm_name=$8
cmd_name="ServTest"
gsub(/]*/,"",pgm_name)
if(pgm_name==cmd_name) { print "ServTest Present =" cmd_name}
}'... (10 Replies)
Hi,
I am using HP-UX B.11.23 U ia64
I am trying to retrieve files using -mtime option of find command
However I found that -mtime is not giving correct results
Following is the output of commands executed on 03-Dec-2009
It can be seen that -mtime +1 should have returned all... (2 Replies)
I have five classes. 2 composition classes,1 aggregation class and 1 dependency class.I have coded all the classes but one of my test program is not giving me the expected result.I have the following classes:
TimeStamp
Interval (composition of 2 TimeStamps)
TimeSheet ( aggregation of many... (3 Replies)
I use many different machines at work, each with different versions of o/s's and installed applications. Sed in vi is particularly inconvenient in the sense that sometimes it will accept the "\r" as a carriage return, sometimes not. Same thing with "\n". For instance, if I have a list of hosts... (7 Replies)
Hi
I am comparing two files with comm -13 < (sort acc11.txt) < (sort acc12.txt) > output.txt
purpose: Get non matching records which are in acc12 but not in acc11...
TI am getting WRONG output.
Is there any constraints with record length with comm? The above files are the two consective ... (2 Replies)
Hello,
I am practising awk and decided to compare two columns and print the result of the comparison as third column
i/p data
c1,c2,c3
1,a,b
1,b,b
i am trying to compare the last two columns and if they match I am trying to print match else mismatch(Ideally i want that as a last column... (5 Replies)
Discussion started by: mkathi
5 Replies
LEARN ABOUT DEBIAN
omega-rpg
omega(6) Games Manual omega(6)NAME
omega - a hack-style game with quests.
SYNOPSIS
omega [save file]
DESCRIPTION
omega is a complex rogue-style game of dungeon exploration. Unlike other such games, there are a number of ways to "win", depending on
various actions taken during play. The ways you can get your name on the hiscore board include becoming the highest ranked head of a guild,
sect, college, etc., as well as gaining the most points figured from possessions and experience. The game (via the oracle) may impose some
structure on your exploration, but you need not follow all of the oracle's advice. There *is* a "total winner" status, by the way.
If the save file is not specified, omega gives the player the choice of generating a random character, or playing themselves, doing a short
quiz to determine an approximation of their abilities. If the save file is given, omega will restore that save file, and if successful,
the save file is deleted. Note that some installations of omega compress the save file, using either compress(1) or gzip(1) - if this is
the case, and you have a save file that is uncompressed (such files are generated by omega if it receives a signal during play, for exam-
ple), you can compress it (with compress(1) or gzip(1)) and remove the .Z or .gz extension. Alternatively, you may simply run with the
uncompressed save file - this will not affect the game in any way, but takes more disk space between games.
omega offers a richness of playing detail that goes beyond a simple game like rogue. However, the majority of gameplay is very similar to
rogue, hack, ultrarogue, larn, and other such games. The player is represented by the highlighted "@" symbol, objects and terrain features
are represented by non-alphabetic symbols, monsters are represented by the various upper and lower case letters, and other humans are rep-
resented by a non-highlighted "@".
omega currently consists of a countryside in which are sited a city, various villages, several dungeons, and some "special" sites, such as
the temples of the various priesthoods. The game starts in the city of Rampart, where all the guilds have headquarters. As a dungeon is
explored, all generated levels are saved in memory. However, only one dungeon is "remembered" at a time, so if you enter two dungeons, the
first will be forgotten (it will be regenerated should you wish to enter it again). However, if a dungeon is "completed", this fact will be
remembered, basically meaning that the unique monster at the bottom will not be regenerated if you've killed it already.
SEE ALSO compress(1), gzip(1), nethack(6)AUTHOR
Laurence Brothers
omega(6)