01-29-2020
Are there any attempts or ideas from your side, some code you gave a shot ?
Regards
Peasant.
10 More Discussions You Might Find Interesting
1. AIX
hello
i have a requirement where i have a direcotry in which i get files in the format
STOCKS.20080114.dat
STOCKS.20080115.dat
STOCKS.20080117.dat
STOCKS.20080118.dat
i need to loop through the directory and sort by create date descending order and i need to process the first file.
... (1 Reply)
Discussion started by: dsdev_123
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to sort all the files in a directory whilst retaining the originals. So if in the directory I have:
File1
File2
File3
I want to sort these files so that I would have:
File1
File1.sort
File2
File2.sort
File3
File3.sort
where I have added the .sort extension to show... (4 Replies)
Discussion started by: ledgie
4 Replies
3. UNIX for Dummies Questions & Answers
Hi all.
I have 2 files like this:
f1
A 10
B 80
C 9
f2
A 11
B 700
C 10
What I want is the concatenation of the two files sorted by name (alphabetically) and size (numerically), so the result should be like this:
F3 (cat f1 f2 sorted)
A 10
A 11
B 80
B 700 (2 Replies)
Discussion started by: mrodrig
2 Replies
4. Shell Programming and Scripting
hi there,
I have a directory which contents I can parse dynamically. I end up with a file list. I then want to display those files sorted by date, oldest files first. I have very very little PERL experience...Would anyone know how to do that ? Thanks in advance. (8 Replies)
Discussion started by: alexf
8 Replies
5. Shell Programming and Scripting
I got a long list of file name.
My input:
data_1.txt
data_2.txt
data_3.txt
data_10.txt
data_21.txt
data_12.txt
data_4.txt
My desired output:
data_1.txt
data_2.txt
data_3.txt
data_4.txt
data_10.txt
data_12.txt
data_21.txt
Does anybody got idea how to archive it? (11 Replies)
Discussion started by: patrick87
11 Replies
6. UNIX for Dummies Questions & Answers
Hi,
A basic query. In the example file below, I want to sort by column 1 and then by column 2 numerically. I have tried sort -k2n,1 file1 but while this sorts the columns in the correct order, it does not sort column 2 numerically. Any help would be much appreciated. Also, if you have time to... (3 Replies)
Discussion started by: auburn
3 Replies
7. Shell Programming and Scripting
Hello,
I have this sample data:
01 * * * *
01 * * * *
01 * * * *
01 * * * *
01 0 * * *
01 0 * * *
01 0 * * *
01 0 * * *
02 * * * 0
02 * * * 0
02 * * * 6
02 * * * 6
02 0 * * 1
02 0 * * 1
02 0 * * 2
02 0 * * 2
02 0 * * 3 (3 Replies)
Discussion started by: gio001
3 Replies
8. Shell Programming and Scripting
Greetings - I'm not necessarily new to bash scripting - I'm probably between beginner and intermediate, but I have something that I just cannot figure out after many attempts to find it. I have a file that is merely a list of many files, with their respective paths, and a branch path (ClearCase)... (5 Replies)
Discussion started by: 1cor29
5 Replies
9. UNIX for Dummies Questions & Answers
Hey Guys,
I am facing an annoying scenario, fewer times when I execute the sort command, it throws out on error saying that "No Space on available on /var/tmp/<temp file name>. May be it is set to /var/tmp directory. I was wondering, if I cant redirect the temporary file creation to any other... (3 Replies)
Discussion started by: abhisheksunkari
3 Replies
10. UNIX for Dummies Questions & Answers
Hello all,
I have a list of file names in a text document where each file name consists of 4 letters and 3 numbers (for example MACR119). There are 48 file names in the document (they are not in alphabetical or numerical order). I would like to reorder the list of names so that the 48th name is... (3 Replies)
Discussion started by: MDeBiasse
3 Replies
LEARN ABOUT DEBIAN
torus-trooper
Torus Trooper(6) Torus Trooper(6)
NAME
torus-trooper - speeding ship sailing through barrage
DESCRIPTION
Speed! More speed!
Torus Trooper is a fast-paced abstract scrolling shooter game. It features 3D graphics and a style similar to that of games such as Tem-
pest.
OPTIONS
These options are available:
-brightness n
Set the brightness of the screen.(n = 0 - 100, default = 100)
-luminosity n
Set the luminous intensity.(n = 0 - 100, default = 0)
-res x y
Set the screen resolution to (x, y).
-nosound
Stop the sound.
-window
Launch the game in a window.
-fullscreen
Launch the game in fullscreen mode.
-reverse
Reverse a shot key and a charge shot key.
USAGE
How to operate:
Movement
Arrow / Num / [WASD] / Joystick
Hold an up key to increase speed.
Shot [Z][L-Ctrl][.] / Trigger 1, 4, 5, 8
Hold a shot key to open automatic fire.
Charge shot
[X][L-Alt][L-Shift][/] / Trigger 2, 3, 6, 7
Hold a charge shot key to charge energy.
- A charge shot is released when you release a key.
- A charge shot penetrates enemies and wipes out bullets.
- A score multiplier is increased according to a number of destroying enemies and bullets.
- A charge shot acts as a regenerative break.
Pause [P]
How to play:
At the title screen, select a grade(Normal, Hard, Extreme) and a starting level. Press a shot button to start a game. Press an escape key
to quit a game.
Drive a ship forward and destroy enemies. When time runs out, game is over.
Remaining time is displayed at the left up corner.
Remaining time varies according to events:
Ship was destroyed(-15 sec.)
You ship is destroyed when it is hit by a bullet.
Bonus time(+15 sec.)
You can earn bonus time when you reach a certain score. The point you have to get is displayed at the right up corner.
Destroy the boss(+30 or 45 sec.)
The boss enemies appear when you destroy or overtake a certain number(displayed at the left down corner) of enemies, and you can
earn bonus time by destroying them.
Replay mode
At the title screen, press a charge shot key to see a replay of your last game. Press a left/right key to change a view and an
up/down key to change displayed/undisplayed of a status display.
SEE ALSO
You can find more about the game on its homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/tt_e.html
AUTHOR
This game has been written by Kenta Cho <cs8k-cyu@asahi-net.or.jp>
Torus Trooper(6)