Sponsored Content
Homework and Emergencies Homework & Coursework Questions Could anyone help explain this? Post 302343403 by Squall Moogle on Wednesday 12th of August 2009 10:43:47 AM
Old 08-12-2009
Thanks for the replies Smilie.

I have been scouring Google for answers, found a few gems but also found it hard to understand quite a bit of it. As I said it's not really my area, I'd have rather swapped it for a media based module etc etc.

Thanks for being sketchy too, your hints have given me food for thought.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

please explain this

zsh 4.3.4% cat file ACFCFACCACARCSHFARCVJVASTVAJFTVAJVGHBAJ zsh 4.3.4% cat file1 A C F R zsh 4.3.4% <file1 while read;do printf "%s=%d\n" "$REPLY" "${#$(<file)//}";done A=9 C=7 F=4 R=2 That was the previous post. But , can anybody can explain me in detail about this line zsh... (2 Replies)
Discussion started by: dummy_needhelp
2 Replies

2. Shell Programming and Scripting

Please can any one explain this ${0##/}

I did not understand what is ${0##/} PGM=${0##/} TMP=/tmp/${PGM}.$$ Please explain me. (2 Replies)
Discussion started by: gadege
2 Replies

3. Shell Programming and Scripting

please explain the below

could u please convert the below statement to shell script ---------- logdir=/smp/dyn/logfiles/cpm/pgm/pgIm $logdir = $logdir ."/pgIm${toDate}*"; ---- could u please explain the below clearly grep -i adding $logdir | grep -iv equation | awk '{print \$NF}' | sort -u | sed -e... (1 Reply)
Discussion started by: mail2sant
1 Replies

4. AIX

can anyone explain this?

this is the mksys b script.... can anyone explain .. what # and 1 in if condition this is the first line of the script... it is not from middle of the script.... if then echo "Not enough parameters, need a client name for mksysb" Usage="Usage: $0 <client name>" ... (2 Replies)
Discussion started by: honeym210
2 Replies

5. UNIX for Dummies Questions & Answers

Please explain this

if then echo "Syntax: $0 <sid> <COLD/HOT> <DEST>" exit fi if --------------what does this mean??? echo "Syntax: $0 <sid> <COLD/HOT> <DEST>"---pls explain this as well (2 Replies)
Discussion started by: appsdba.nitin
2 Replies

6. Shell Programming and Scripting

can any one explain this example

hi all i have an example i want one help me to understand cause i tried to test it but almost fail and i don't know how can i solve this problem " the main idea to read from two files and replace something from one to another " but i don't understand why it fail all time $ cat main.txt... (4 Replies)
Discussion started by: maxim42
4 Replies

7. Shell Programming and Scripting

Explain $# please

I'm trying to follow a script and I see it begins with this: if ; then if ; then print "blah $0 blah blah " exit fi fi What does $# mean? I found out that $1 refers to the shell environment and the last argument that was entered or passed in the previous command. I couldn't find $#... (2 Replies)
Discussion started by: MaindotC
2 Replies

8. Shell Programming and Scripting

anyone can explain this?

why the case 2 will happen ? , ' should stop the history substitution ,shouldn't it? case 1 # echo "123"|sed '/123/!d' 123 case 2 # echo "123 > 456 > 1 > "|sed '/123/!d' -bash: !d': event not found case 3 # echo "123 > 456 > 12 > "|sed '/123/'\!d 123 # bash --version (1 Reply)
Discussion started by: justlooks
1 Replies

9. Shell Programming and Scripting

Can someone explain this for me?

Can someone do me a favour and explain the following for me: ((r=$RANDOM%$n+1)) I know what $RANDOM does but what is % sign and what does it do with %$n+1? (2 Replies)
Discussion started by: bashily
2 Replies

10. UNIX for Dummies Questions & Answers

How I can explain this?

Hi friends! I'm learning UNIX and I have a small question. Working with Shell, i put the name of one executable (in c language) + one number and it says this: $ gcc misterioso_4.c $ ./misterioso_4 6 got: , I can not find an answer in the manual because I havent applied any variable.... (5 Replies)
Discussion started by: dakota
5 Replies
angrydd(6)						   Angry, Drunken Dwarves Manual						angrydd(6)

NAME
angrydd - a falling block puzzle game SYNOPSIS
angrydd [ --debug ] DESCRIPTION
In Angry, Drunken Dwarves, you are an angry, drunken dwarf. Why are you so angry? Who knows. But you've decided to take your aggression out on other dwarves, by dropping gems on their heads. Lots of gems. You have your own supply of gems, which will slowly fall from the top of the screen. As gems reach the bottom, they will land and sit in place. If you put enough gems of the same color in a rectangle shape, they will merge and form a crystal. Less common are break gems, which are circular. When you drop a break gem on a gem or crystal of the same color, it will destroy any gems of that color adjacent to it. Crystals are worth much more than an equal number of regular gems. For more information, see the "How to Play" screen in the game. OPTIONS
--debug Start the game without Psyco support, for debugging and profiling purposes. --help, -h Display a brief help message. --version, -v Display copyright and version information. USAGE
Player 1's controls are w, a, s, d for up, left, down, right, q for rotate counter-clockwise, e for clockwise, and Enter or 1 for start. Player 1 can also use the arrow keys to move. Player 2's controls are i, j, k, l for up, left, down, right, u for rotate counter-clockwise, o for clockwise, and backspace or 2 for start. Pressing 'p' during a game will pause it. Pressing escape will usually take you back to the menu. Pressing 'f' or F11 makes the game switch between fullscreen and window mode. The game is designed to be played with joysticks or gamepads as well; the directionals will move, the buttons rotate, start is start, and select is pause. GAME MODES
Dwarf versus Dwarf Two players fight against each other. You can select the number of matches and other options in the Setup menu. Arcade Mode Go up against each dwarf in game, each one harder than the previous. Dwarf versus Robot To get this mode, you must do well in Arcade Mode. In this mode you can go up against any dwarf you want played by an AI, and also set the AI level in the Setup menu. Select the AI's character with j and l, and confirm it with 2. Others? There are other, secret game modes you can unlock. The "How to Play" screen will give you instructions on these modes when you can play them. AUTHOR
Joe Wreschnig <piman@sacredchao.net> is the author of Angry, Drunken Dwarves. SCOL
July 29th, 2004 angrydd(6)
All times are GMT -4. The time now is 03:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy