07-24-2012
This User Gave Thanks to zaxxon For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
This could be a really dumb question, but for a newbie trying to learn, some help would be appreciated. When you write a shell script, what extension should it have, and more importantly, where do you put it???? (7 Replies)
Discussion started by: ober5861
7 Replies
2. News, Links, Events and Announcements
Fun With Automounting on FreeBSD
Link: Nice tips for FreeBSD Unix.
http://ezine.daemonnews.org/200202/automounting.html (2 Replies)
Discussion started by: killerserv
2 Replies
3. UNIX for Dummies Questions & Answers
I have written a script to start websphere server, I dont know where to put
the file in the OS . please put me the place to put the starup scripts in linux, solaris and AIX? (2 Replies)
Discussion started by: jayaramanit
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
Please let me know how I can put a comment (e.g // or #) to more than 50 lines using vi editor in a .cpp/.sh file.
Thanks in advance. (3 Replies)
Discussion started by: artikulkarni
3 Replies
5. What is on Your Mind?
Lets get a list of everyones funny scripts (8 Replies)
Discussion started by: JamieMurry
8 Replies
6. Shell Programming and Scripting
uggc://ra.jvxvcrqvn.bet/jvxv/EBG13
#!/usr/bin/awk -f
BEGIN {
for (n=0;n<26;n++) {
x=sprintf("%c",n+65); y=sprintf("%c",(n+13)%26+65)
r=y; r=tolower(y)
}
}
{
b = ""
for (n=1; x=substr($0,n,1); n++) b = b ((y=r)?y:x)
print b
}
... (0 Replies)
Discussion started by: colemar
0 Replies
7. Shell Programming and Scripting
#!/usr/bin/ksh
ls -l $@ | awk '
/^-/ {
l = 5*log($5)
h = sprintf("%7d %-72s",$5,$8)
print "\x1B
ls command with histogram of file sizes.
The histogram scale is logaritmic, to avoid very short bars for smaller files or very long bars for bigger files.
Screenshot: (4 Replies)
Discussion started by: colemar
4 Replies
8. Shell Programming and Scripting
I must write a script to change all C++ like comments:
// this is a comment
to this one
/* this is a comment */
How to do it by sed? With file:
#include <cstdio>
using namespace std; //one
// two
int main() {
printf("Example"); // three
}//four
the result should be: (2 Replies)
Discussion started by: black_hawk
2 Replies
9. Shell Programming and Scripting
Hey all,
I'm trying to setup an external XML feed for my site and I've received a script to make it all possible. This script places the feed in the MySQL datbasa and can remove the previous feed. Because I am new to this I would like to ask a simple question. Could somebody tell me where do I... (3 Replies)
Discussion started by: chrisdegrote
3 Replies
LEARN ABOUT DEBIAN
bumprace
bumprace(6) Games Manual bumprace(6)
NAME
bumprace -- a simple arcade game
SYNOPSIS
bumprace [-f | --fullscreen] [-w | --windowed] [-s | --nosound] [-n | --notfinal] [-t | --noparticles] [-o | --nofadeout] [--preci-
sion] [-h | --help]
DESCRIPTION
This manual page documents briefly the bumprace command.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it
has documentation in /usr/share/doc/bumprace/README.
bumprace a simple arcade game.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below.
-f --fullscreen
Start in fullscreen mode (default).
-w --windowed
Start in windowed mode.
-s --nosound
Start in without sound.
-n --notfinal
No title screen (nice for develolopers).
-t --noparticles
Turns of paticles. Good for slow computers.
-o --nofadeout
No fadeout after crash (for slow coputers).
--precision
Sets the precison of the collisions (default=10).
-h --help
Show summary of options.
KEYS
Player 1
arrow keys
moving
right control
special ability
Player 2
a left
d right
w thrust
TAB special ability
AUTHOR
This manual page was written by Christian T. Steigies <cts@debian.org> for the Debian GNU/Linux system (but may be used by others). Per-
mission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
bumprace(6)