07-22-2014
Thanks, Don Cragun. I'm utterly afraid I need my eyeglasses reground and polished...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
trying to exclude hostnames ending in "s" from a host file:
# cat hosts
ssef
ssefd
ssefsfff
ssefsfs
# for x in `cat hosts`; do echo "${x/*s}" ;done
ef
efd
fff
#
How can I echo/or not echo only 'ssefsfs' ??
thanks (4 Replies)
Discussion started by: prkfriryce
4 Replies
2. UNIX for Advanced & Expert Users
I am trying to cat a file and then grep that file for a number. I can do it fine on other files but this particular file will not do anything. I tried running it on an older file from the same device but it is just not working. The file is nothing more than a flat file on a unix box. Here is just a... (3 Replies)
Discussion started by: jphess
3 Replies
3. Shell Programming and Scripting
Hi All,
I'd like to do this
cat /etc/passwd
and grep -v on the /etc/shells list
I'd like to find all shell that doesn't exist on the /etc/passwd.
Is there an easy way without doing a egrep -v "/bin/sh|/bin/bash................"?
How do I use a file /etc/shells as my list for... (4 Replies)
Discussion started by: itik
4 Replies
4. Shell Programming and Scripting
I am not sure if using cat -n is the most efficient way to split a file into multiple files, one file per line in the source file.
I thought using cat -n would make it easy to process the file because it produces an output that numbers each line that I could then grep for with the regex "^ *$i".... (3 Replies)
Discussion started by: kapu
3 Replies
5. Shell Programming and Scripting
Is there a way using grep or cat a file to create a new file based on whether the first 9 positions of each record is less than 399999999?
This is a fixed file format. (3 Replies)
Discussion started by: ski
3 Replies
6. Shell Programming and Scripting
Does any one know any command runs faster than this to give duplicate numbers
cat file1 file2 ....file 100 | sort |uniq -c
thanx (3 Replies)
Discussion started by: quincyjones
3 Replies
7. UNIX for Dummies Questions & Answers
Hello,
i need to search one word (snp1) from many files and copy the content of the columns of this word in new file.
example:
file 1:
SNP BP CHR P
snp1 1 3 0.01
snp2 2 2 0.05
.
.
file 2:
SNP BP CHR P
snp1 1 3 0.06
snp2 2 2 0.3
output... (6 Replies)
Discussion started by: biopsy
6 Replies
8. Shell Programming and Scripting
Hi there,
I have 2 files that I am trying to work on.
File 1 contains a reference list of unique subscriber numbers ( 7 million entries in total)
File 2 contains a list of the subscriber numbers and their tariff (15 million entries in total). This file is in the production system and... (12 Replies)
Discussion started by: Cludgie
12 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys
This is my first post so I am not sure how things go here. I'm sorry if I'm breaking the rule or something. Feel free to correct me about that :)
So as I was saying...
I'd been trying to grep this folder containing 900,000 txt files but seems no luck. I get either "No such file... (6 Replies)
Discussion started by: Nexeu
6 Replies
10. UNIX for Dummies Questions & Answers
I have a large * delimited text file and need to highlight specific columns on specific lines. The file looks similar to this:
ABC*01*00*01*00000 000000 *00000 000000 *35*0*0*0*0*20000*0*0*1*0000*00*4*0*3*0*0*1*0* *35*0000*001*4*1OT2*0148*0*0*0*0*0*0*6A7801B0**TEST1... (1 Reply)
Discussion started by: say170
1 Replies
LEARN ABOUT DEBIAN
lincity-ng
LINCITY-NG(6) Games Manual LINCITY-NG(6)
NAME
lincity-ng - City simulator game with polished graphics
SYNOPSIS
lincity-ng [options]
DESCRIPTION
This manual page documents briefly the usage of lincity-ng
lincity-ng is a City Simulation Game. It is a polished and improved version of the old LinCity game: You are required to build and main-
tain a city. You must feed, house, provide jobs and goods for your residents. You can build a sustainable economy with the help of renew-
able energy and recycling, or you can go for broke and build rockets to escape from a pollution ridden and resource starved planet, it's up
to you. Due to the finite resources available in any one place, this is not a game that you can leave for long periods of time.
This game is similar to the commercial simulation game with a similar name.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below.
-h, --help
Show summary of options.
-v, --version
Show version of program.
-g, --gl
Use the OpenGL display mode
-s, --sdl
Use the SDL display mode
-w, --window
Run lincity-ng in windowed mode
-f, --fullscreen
Run lincity-ng in fullscreen mode
-m, --mute
Turn off sound
-S, --size
specify screensize (eg. -S 1024x768)
-q, --quick
speficify how quick is the fast speed. (eg. -q 1 is the fastest possible with full animations, may heat hardware due to average 1 ms
pause. -q 9 is the default 10ms pause) In -q 9 animation steps are skipped for speed. 1..8 do all animation steps in fast mode.
UPGRADE from 1.x to 2.x
A new format for saved games is used since 2.0, but old games can be imported and automagically converted. Just copy $HOME/.lincity/*
(old location for lincity and lincity-ng 1.x) to $HOME/.lincity-ng/ (new location since 2.0).
cp -a ~/.lincity/* ~/.lincity-ng/
At the start of the game, one message will popup to remind you have some changes to do in your city.
AUTHOR
lincity-ng was written by Wolfgang Becker, Matthias Braun, David Kamphausen, Corey Keasling, IJ Peters, Ingo Ruhnke, Jimmy Salmon, Greg
Sharp and others. Please see the documentation for a list of all contributors.
This manual page was written by Moritz Muehlenhoff, for the Debian project (but may be used by others). Updated by Lincity-NG team.
June 24, 2005 LINCITY-NG(6)