Sponsored Content
Full Discussion: Anyone like a challenge?
Top Forums Shell Programming and Scripting Anyone like a challenge? Post 302935262 by Don Cragun on Friday 13th of February 2015 11:41:50 PM
Old 02-14-2015
Quote:
Originally Posted by BatterBits
Bingo! Smilie

Where's the "gold star" smiley when you need one? Smilie


----
Regards,


Ian
Hi Ian,
You can award a gold star (or at least note your thanks) by clicking the "Thumbs Up Thanks" button at the bottom left of any post that you did not submit and that you have not already thanked.

It looks like you have done this two times already (and it is appreciated).

Cheers,
Don
This User Gave Thanks to Don Cragun For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

X25 Address - A challenge...

Okay - I've been searching near and far for the answer to this seemly simple question..... how do I find the X25 address for a server. Is there some sort of dump or ping or even a config which would tell me the address. I can find nothing on the web and my colleagues can't help either. (1 Reply)
Discussion started by: peter.herlihy
1 Replies

2. UNIX for Advanced & Expert Users

safeword challenge

Hi, there are some servers here at work which issue a Safeword challenge after I login. Can anyone tell me exactly how the challenge/response system works? In particular, how are the valid keys decided? (2 Replies)
Discussion started by: blowtorch
2 Replies

3. Shell Programming and Scripting

AWK Challenge

I have the following text Microsoft iSCSI Initiator version 2.0 Build 3497 Targets List: iqn.2001-05.com.equallogic:0-8a0906-daef43402-138000002a4477ba-grsrv12-extra iqn.2001-05.com.equallogic:0-8a0906-986f43402-520000002b447951-exchange ... (9 Replies)
Discussion started by: netmedic
9 Replies

4. Shell Programming and Scripting

sed replacement, challenge one!!!!

Hi all, Thanks in advanced. This question really bothered me much. What i want is to replace any times of repeated 'TB' to 'T', below is example. It can be fullfil by AWK and perl, but my desire is using SED to realize it. So here means we treat TB as a whole part, which means 's/TB*/T/'... (4 Replies)
Discussion started by: summer_cherry
4 Replies

5. Shell Programming and Scripting

sed xml challenge

I have a web xml file that looks like this: <allinfo> <info> <a>Name1<\a> <b>address1<\b> <c>phone1<c> <\info> <info> <a>Name2<\a> <b>address2<\b> <c>phone2<c> <\info> <\allinfo> I want to use sed to... (2 Replies)
Discussion started by: katrvu
2 Replies

6. Shell Programming and Scripting

regex challenge

Here's a regex substitution operation that has stumped me with sed: How do you convert lines like this: first.key ?{x.y.z} second.key ?{xa.ys.zz.s} third.key ?{xa.k} to: first.key ?{x_y_z} second.key ?{xa_ys_zz_s} third.key ?{xa_k} So i'm basically converting all the... (11 Replies)
Discussion started by: neked
11 Replies

7. Shell Programming and Scripting

Geo Weather Challenge

Hi everybody, I'm new to these forums and this is my first post. A couple days ago I was trying to find a simple script that would return an individual's local weather conditions using I.P. based geolocation. After many failed search attempts, I began my quest to create this for myself. I have to... (0 Replies)
Discussion started by: o0110o
0 Replies

8. Shell Programming and Scripting

PS1 challenge

Ok then i Have a challenge for you : Give me PS1 so that it always display the least 2 levels of directory (except if i am above of course) I want it this way : so if i go to / /home/ /home/user /home/user/whatever /home/user/whatever1/whatever2 my PS1 should respectively... (12 Replies)
Discussion started by: ctsgnb
12 Replies

9. AIX

openssh connectivity challenge

Running a Power 5 Blade on AIX, with remote connectivity issues via putty. AIX V 6.1.00-02 openssh V5.2.0.5300 openssl V0.9.8.1103 Intermittent remote connections. Seems to connect every other time I try via my putty client. Using hosts.allow and hosts.deny to filter IP Addrss... (2 Replies)
Discussion started by: FrankM
2 Replies

10. UNIX for Dummies Questions & Answers

Touch Challenge

I've been given a directory full of subdirectories full of logfiles of the same name: /logfiles/day1/file1/blockednodes.csv day1-14 file1-48 The above is the actual directory structure for 14 days worth of a logfile that is generated every 30 minutes. It's been done this way to preserve the... (15 Replies)
Discussion started by: Cludgie
15 Replies
LARN(6) 							 BSD Games Manual							   LARN(6)

NAME
larn -- exploring the caverns of Larn SYNOPSIS
larn [-chilns] [-o optsfile] [-##] [++] DESCRIPTION
larn is a fantasy games in which your child has contracted a strange disease, and none of your home remedies seem to have any effect. You set out to find a remedy in a limited amount of time, and to collect gold along the way of course! The options are: -c Clear the high scores file. -h Show the command line options. -i Show the high scores, including inventory data. -l Show the log of all games. -n Suppress the welcome message and start the game immediately. -o Read the specified options file instead of ~/.larnopts. -s Show the high scores. -## Set the difficulty (hardness) level. ++ Restore game from the checkpoint (auto-save) file. COMMANDS
These are the movement commands: h move to the left H run left . stay here j move down J run down Z teleport yourself k move up K run up c cast a spell l move to the right L run right r read a scroll y move northwest Y run northwest q quaff a potion u move northeast U run northeast W wear armor b move southwest B run southwest T take off armor n move southeast N run southeast w wield a weapon ^ identify a trap g give present pack weight P give tax status d drop an item i inventory your pockets Q quit the game v print program version S save the game D list all items found ? this help screen A create diagnostic file e eat something (wizards only) OPTIONS FILE
The file ~/.larnopts may be used to set a few options for larn. A sequence of words terminated by whitespace is used to specify options. Word Meaning bold-objects Select bold display of objects. inverse-objects Select inverse video display of objects. no-introduction Do not display intro message. enable-checkpointing Turn on periodic checkpointing. no-beep Disable beeping of the terminal. male Choose your sex to be a man. female Choose your sex to be a woman. name: ``your name'' Choose your playing name. monster: ``monst name'' Choose a name for a monster. savefile: ``save-file-name'' Define what the savegame filename will be. Your name and monster names must be enclosed in double quotation marks and may be up to 34 characters long. Longer names are truncated. Anything enclosed in quotation marks is considered one word, and must be separated from other words by whitespace. SPECIAL NOTES
When dropping gold, if you type '*' as your amount, all your gold gets dropped. In general, typing in '*' means all of what you are inter- ested in. This is true when visiting the bank, or when contributing at altars. You can get out of the store, trading post, school, or home by hitting <esc>. When casting a spell, if you need a list of spells you can cast, type D as the first letter of your spell. The available list of spells will be shown, after which you may enter the spell code. This only works on the 1st letter of the spell you are casting. FILES
/var/games/larn.scores Score file. ~/.larnopts Options file. AUTHORS
Noah Morgan BSD
April 23, 2010 BSD
All times are GMT -4. The time now is 04:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy