11-16-2019
Any attempts / ideas / thoughts from your side?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i have file say email.temp looks like
Bell_BB 17
Bell_MONTHLY 888
SOLO_UNBEATABLE 721
and another file r3
Bell BB,Bell_BB
Bell,Bell_MONTHLY
SOLO,SOLO_UNBEATABLE
i want email.temp files $1 say Bell_BB should be replaced by r3 Bell BB and Bell_MONTHLY by... (2 Replies)
Discussion started by: raghavendra.cse
2 Replies
2. Shell Programming and Scripting
Ok, so, let's say I have the variable $GMAILID....How can I use it with sed command so to replace a string in a file? e.g.:
sed -i 's/$GMAILID/test@gmail.com/' /home/$USER/Desktop/sendmail (4 Replies)
Discussion started by: hakermania
4 Replies
3. Shell Programming and Scripting
Can you please point me in the correct direction?
I need a line or script to run though a given directory and find all files with "@domain.local" in there names and simple remove that.
For example if the files were named 1234@domain.local the file would then become 1234. (1 Reply)
Discussion started by: binary-ninja
1 Replies
4. Shell Programming and Scripting
My apologies if this has been answered in a previous post. I've been doing a lot of searching, but I haven't been able to find what I was looking for. Specifically, I am wondering if I can utilize sed and/or awk to locate two strings in a file, and replace everything between those two strings... (12 Replies)
Discussion started by: kiddsupreme
12 Replies
5. Red Hat
Hi all,
Hereby wish to have your advise for below:
Main concept is
I intend to get current directory of my script file.
This script file will be copied to /etc/init.d.
A string in this copy will be replaced with current directory value.
Below is original script file:
... (6 Replies)
Discussion started by: cielle
6 Replies
6. Shell Programming and Scripting
Hi experts,
In my text file I have the following alot of lines like below.
input.k is as follows.
2684717 -194.7050476 64.2345581 150.6500092 0 0
2684718 -213.1575623 62.7032242 150.6500092 0 0
*INCLUDE
$# filename... (3 Replies)
Discussion started by: hamnsan
3 Replies
7. Shell Programming and Scripting
Hi,
I am trying to replace the value of a variable in a file through another script.
Example:
Filename : abc.txt contents:
a=10
b=20
c=30
Need to change the value of, say, b - Tried using the following:
sed "s/${b}/15/g" abc.txt
Have tried various forms of sed (with single quotes,... (4 Replies)
Discussion started by: rituparna_gupta
4 Replies
8. Shell Programming and Scripting
My first comment on every file contains the license message. I want to replace with a new license message. I used the below sed script, which replaces all comments. What is the modification or any other method with awk script for the below to edit only the first comment(license message)?
#sed -f... (1 Reply)
Discussion started by: vpshastry
1 Replies
9. Shell Programming and Scripting
I have a file having some text like:
PATH_ABC=/user/myLocation
I have to replace "/user/myLocation" with a session variable say, $REPLACE_PATH,
where $REPLACE_PATH=/user/myReplaceLocation
The following sed command is not working. It is writing PATH_ABC=$REPLACE_PATH in the file
... (2 Replies)
Discussion started by: SKhan
2 Replies
10. Programming
Dear All,
I am having a requirement to find the difference between 2 files and generate a discrepancy report out of it as an html page. I prefer using diff -y file1 file2 since it gives user friendly layout to know any discrepancy in the record and unique records among the 2 file. Here's how it... (12 Replies)
Discussion started by: Badhrish
12 Replies
LEARN ABOUT DEBIAN
airstrike
AIRSTRIKE(6) GAMES AIRSTRIKE(6)
_ _ _ _ _
/ (_)_ __ ___| |_ _ __(_) | _____
/ _ | | '__/ __| __| '__| | |/ / _
/ ___ | | | \__ |_| | | | < __/
/_/ \_\_|_| |___/\__|_| |_|_|\_\___|
NAME
airstrike - 2d dogfight game in the tradition of 'Biplanes' and 'BIP'
DESCRIPTION
Airstrike is a 2d biplane dogfight game in the tradition of the Intellivision and Amiga games 'Biplanes' and 'BIP'. It features a robust
physics engine and several other extensions of the original games.
SYNOPSIS
airstrike [options]
OPTIONS
Airstrike reads all the configuration options from a configuration file at startup but you can override from command line a few of the
options:
--fullscreen
Runs the game in fullscreen mode.
--sound
Runs game with sound effects, if support for that has been compiled in.
--nosound
Runs the game without sound.
--noalpha
Game graphics will not be antialiased. This makes it run faster.
--alpha
Game graphics will be antialiased.
--config CONFIGFILE
Use given configuration file instead of the one which location is compiled into Airstrike.
Configuration file name is '.airstrikerc' and it's located in your home directory.
CONTROLS
Airstrike is controlled from keyboard:
RIGHT Plane nose goes up.
LEFT Plane nose goes down.
COMMA Accelerate.
DOT Shoot.
SPACE Drop a bomb.
ESC Pause game and open game options menu. From menu you can change options, view release notes and quit it.
LICENCE
This is free software; you can redistribute it and/or modify it under the terms specified in the GNU Public Licence (GPL).
WARRANTY
None.
COPYRIGHT AND CREDITS
Ulf Ekstrom
Game author, programming and graphics
Peter Eismann
Windows port, comments and ideas
Eero Tamminen
Sound, graphics, game objects, makefiles, comments and ideas
Alessandro Giusti
Graphics and ideas
And many others for comments, bug reports and ideas.
Airstrike Version 1.0 AIRSTRIKE(6)