I wanted to extract the month number from unix.
unixdev(invent) /home/odsapp/apps/CTSI
==> date
Tue Nov 11 14:42:27 EST 2008
From date command, i can get day(11), year(2008). But i need month number..
I am receiving files as test11102008.txt
My need to identify when this file is... (1 Reply)
Hi
I have a file with the following entries:
cm2363db
cm2445db
cm2618db
Is there a awk or sed command which would allow me to extract only the numbers from this file as output, so the output would look like this:
2363
2445
2618
Thanks a lot -A (4 Replies)
Hi Gurus,
I've using HPUX B.11.23 U ia64 with shell = sh.
I've been having some problem get the highest number of this script.
Actually I wanted to get the highest number from this listing (TEST123 data and based on this highest number, there will be email being sent out.
For example,... (6 Replies)
I have the following script (which I made by my self)
#!/bin/bash
# add a few empty lines to make it more legible
# add a date description on each update interval
echo "" >> /home/user/DYN_DNS_IP_change.log
echo "" >> /home/user/DYN_DNS_IP_change.log
echo "" >>... (6 Replies)
Hi Folks,
I want to use particular number as a variable output..Please find the below for scenario...
Example 1:-
Below output i want to use secondary group 9003 as a variable output
$ id -a |awk -NF '{print $3}'
groups=99(local),9003(testadmin)
Else
I want to use 2006 as a... (8 Replies)
Hi,
i want to extract a number from a statement.
03/07/14 00:58:41 CRPr::CopyTotable inserted 3501 rows into table
Now i want to assign 3501 to a variable. This number may change every time. (5 Replies)
Hi
I am on Sun os. I have data in the below format and I need to grab the number out from the string.
O/p needed:
---------- Post updated at 12:39 PM ---------- Previous update was at 12:32 PM ----------
I tried this but I am getting . at the front (14 Replies)
I have a lot of file with a lot of lines following the same pattern
the lines go like this:
alpha_9/output- -413.74928476 2.6116
and I want it to be:
9 -413.74928476 2.6116
thanks for the help (5 Replies)
Discussion started by: galboski
5 Replies
LEARN ABOUT NETBSD
rogue
ROGUE(6) BSD Games Manual ROGUE(6)NAME
rogue -- exploring The Dungeons of Doom
SYNOPSIS
rogue [-s] [save_file]
DESCRIPTION
rogue is a computer fantasy game with a new twist. It is CRT oriented and the object of the game is to survive the attacks of various mon-
sters and get a lot of gold, rather than the puzzle solving orientation of most computer fantasy games.
To get started you really only need to know two commands. The command ? will give you a list of the available commands and the command /
will identify the things you see on the screen.
To win the game (as opposed to merely playing to beat other people's high scores) you must locate the Amulet of Yendor which is somewhere
below the 20th level of the dungeon and get it out. Nobody has achieved this yet and if somebody does, they will probably go down in history
as a hero among heroes.
When the game ends, either by your death, when you quit, or if you (by some miracle) manage to win, rogue will give you a list of the top-ten
scorers. The scoring is based entirely upon how much gold you get. There is a 10% penalty for getting yourself killed.
If save_file is specified, rogue will be restored from the specified saved game file.
The -s option will print out the list of scores.
For more detailed directions, read the document A Guide to the Dungeons of Doom.
FILES
/var/games/rogue.scores Score file
~/rogue.save Default save file
SEE ALSO
Michael C. Toy and Kenneth C. R. C. Arnold, A guide to the Dungeons of Doom.
AUTHORS
Timothy Stoehr
Michael C. Toy
Kenneth C. R. C. Arnold
Glenn Wichman
BUGS
Probably infinite, although none are known. However, that Ice Monsters sometimes transfix you permanently is not a bug. It's a feature.
BSD May 31, 1993 BSD