03-26-2008
And the stuff about the third line was just to confuse the enemy? Did you try the script I posted? You can probably adapt it if it doesn't do exactly what you mean.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Aloha! I have just over 1k of users that have permissions that they shouldn't under our system. I need to parse a provided list of usernames, check their permissions file, and strip the permissions that they are not allowed to have. If upon the permissions strip they are left with no permissions,... (6 Replies)
Discussion started by: Malumake
6 Replies
2. Shell Programming and Scripting
what is the sed command to remove the first two characters of every line of a text file?
each line of the text file has the same amount of characters, and they are ALL NUMERIC. there are hundreds of lines though.
for example,
>cat file1.txt
10081551
10081599
10082234
10082259
20081134... (20 Replies)
Discussion started by: ajp7701
20 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have multiple lines in a file, each of which will have data that looks like this:
xxxxxyyyyzzzz4abcdXYZXYZXYZ
pqrstPQRST2cdPQRSTPQRST
lmnopqr6abcdefgRST.3abc
I want to be able to remove the number 4 + the following 4 characters (abcd) in the first line.
For the second line,... (1 Reply)
Discussion started by: Gussifinknottle
1 Replies
4. Shell Programming and Scripting
Hello,
Is there a simpler way to remove special characters (color codes) from each lines in a log file?
I use sed like in the example below but I think there should be a more simple way to achieve the same result:
$ cat -vet file1
^, , , ,
Maybe to convert the file somehow?
... (5 Replies)
Discussion started by: majormark
5 Replies
5. UNIX for Dummies Questions & Answers
Hello everyone,
This is my first posting. I have read the rules of this forum. I have searched many various threads and haven't found one that applies to my situation or suggestions to fix the issue. I do appreciate the help.
I am trying to execute a basic UNIX script in a Solaris... (4 Replies)
Discussion started by: dqrgk0
4 Replies
6. UNIX Desktop Questions & Answers
I tried using below command
tr -cd "" < InputFile.xml > output.txt ============= This removes all the tabs/newline/extra spaces from a file
it successfully removed all the extra spaces,tabs and new line characters but then the complete file become one record. I want to retain one new line... (1 Reply)
Discussion started by: saini
1 Replies
7. Shell Programming and Scripting
Hi,
I have a file with lines like below.
I need to remove first few characters from each line until a date format is found.
05/06/12 20:47:02 GUMGUY@98.192.174.74{42B42A72AC955F5926621273E3A15059.tomcat2}TP-Processor15 LogExchUsage: ERROR:
05/06/12 20:47:02... (8 Replies)
Discussion started by: ratheeshjulk
8 Replies
8. Shell Programming and Scripting
I have a the following line
22.152.25.36 - K##### "GET /DGGKE/GetMail.do;jwebsphere=FADFFFGSFGSFGSDGFSDFGSDFGSDF HTTP/1.1" 200 44948
Need a cut command which should give me the below output
22.152.25.36 - K##### "GET /DGGKE/GetMail.do HTTP/1.1" 200 44948
Note: The value of jwebsphere can... (6 Replies)
Discussion started by: suindar1982
6 Replies
9. Shell Programming and Scripting
I have a test file with the following format, It contains the username_date when the user was locked from the database.
$ cat lockedusers.txt
TEST1_21062016
TEST2_02122015
TEST3_01032016
TEST4_01042016
I'm writing a ksh script and faced with this difficult scenario for my... (11 Replies)
Discussion started by: humble_learner
11 Replies
10. Shell Programming and Scripting
Hello,
I am java command from a shell script which will generate the below output on the command prompt
signature Base64 :... (10 Replies)
Discussion started by: chetanojha
10 Replies
LEARN ABOUT DEBIAN
tumiki-fighters
Tumiki Fighters(6) Tumiki Fighters(6)
NAME
tumiki-fighters - sticky 2D shooter
DESCRIPTION
OPTIONS
These options are available:
-brightness n
Set the brightness of the screen.(n = 0 - 100, default = 100)
-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.
-reverse
Reverse the shot key and the slow key.
USAGE
How to play:
Movement
Arrow / Num / [WASD] / Joystick
Shot [Z][L-Ctrl][.] / Trigger 1, 4, 5, 8
Slow/Pull in
[X][L-Alt][L-Shift][/] / Trigger 2, 3, 6, 7
Pause [P]
At the title screen, push a shot key to start the game.
Control your ship and destroy enemies. You can catch the enemy's broken piece. Pieces are stuck to your ship and counterattack to ene-
mies. You can earn the bonus score by keeping many pieces stuck. Stuck pieces are destroyed when they touch a enemy's bullet.
While holding a slow key, the ship becomes slow and the ship direction is fixed. Stuck pieces are pulled in and you can prevent a crash of
them, but the bonus score reduces to one fifth. Enemy's pieces are not stuck while holding this key.
If you stick many pieces, enemies become more offensive and tend to fire more bullets.
The ship is destroyed when it is hit by a bullet. The body of the enemy has no collision damage.
The ship extends at 200,000 and every 500,000 points.
SEE ALSO
You can find more about the game on its homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/tf_e.html
AUTHOR
This game has been written by Kenta Cho <cs8k-cyu@asahi-net.or.jp>
Tumiki Fighters(6)