I have a set of files, each one containing some lines that follows that regex:
and here is what file says about each files:
So, as an example, here is what a file ("Daffy Duck - The Marvin Missions (USA).cht" is its name) says:
It's not visible on this forum, but I have a character encoding problem on the `'` on lines 3-5
In order to check the syntax of each file, I wrote a small bash script (see below) that check each line against the regex above. But due to this small encoding problem, my script echoes those lines although they match the regex.
My script:
stdout:
Any advices to get rid of those � (replacing is not an option)? Thank you for reading.
i keep getting the following error with the code segment below when i try to compile the program.
The code is from 'defs.h'
parse error before '('
parse error before ')'
stray '\' in program
this is the code segment and the error is on the second line of the segment
#define... (1 Reply)
I have a cronjob that I need to run everyday and it needs to have todays date inputed, here is what I have, but is not working as expected..........
23 02 * * * cd /path;./RequestSummaryReport.sh $(date +%Y-%m-%d)
the output from mail gives me.............
Date: Fri, 8 Feb 2008 02:12:07... (4 Replies)
I try to compare the day and month of someones birthday with the day and month of today, so my little bash script can send a mail to the person that has its birthday that day.
The first line of the file birthdays looks like this:
firstname,lastname,01/01/1990,....
The variable birthday's... (4 Replies)
I am aware this question has been answered time and again. I feel I have tried everything I have seen on the net and really need help to get this working.
Same old story. Shell script, working from command but not from cron. I need my script to take values from a .properties file. Tried... (2 Replies)
What I have here is a pretty textbook recursive function. Its purpose right now is simply to display all folders that don't contain folders.
It works fine in all instances I can think of... except one. If there is a folder with a space in its name, the thing goes Kablooie.
AFAIK the problem comes... (5 Replies)
Hi,
I am beginner to Unix.
My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8.
Please advice me how to proceed on this. (7 Replies)
I am trying to make all the fields containing lower case letters upper case and the third field of a file display ** instead.
I have this:
awk '{printf "%s %s ** %d %d\n", $1, $2, $4, $5}' database.txt | tr '' '' < database.txt
And that only changes it to upper case, other... (4 Replies)
I am setting up a system as an ADSL gateway. ADSL is working fine. PF is not forwarding for some reason.
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33196
priority: 0
groups: lo
inet6... (0 Replies)
Hi,
I am trying to login from one AIX server to another without using a password, a basic configuration, however it doesn't seem to work.
All things are in place. I have both a public and private key in the ~/.ssh folder and also have an "authorized_keys" file on the target-server containing... (5 Replies)
Hi all!!
I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII
Is there command to display the files encoding?
Thank you! (2 Replies)
Discussion started by: mrreds
2 Replies
LEARN ABOUT DEBIAN
bubbros-server
bubbros-server(6) Games Manual bubbros-server(6)NAME
bubbros-server - the bub-n-bros server.
SYNOPSIS
bubbros-server [ level-file.bin ] [options]
DESCRIPTION
bubbros-server starts an http server that acts as a control panel for the server. The server listens on port 8000 by default. The url for
the control panel is http://server:port/0xN where 0xN is a random hex number (acts as minimal protection). This url is printed when the
server starts. You can start and view games and kill the server from this panel. The control panel also allows you to type in the address
of a server to connect to, the script will then open a client to that server. The http server also servers java applet clients for those
players who wish to use one.
When a game is started the script opens a port for the game server. This port can then be connected to by a client. Clients autodetect
servers running on the local network with UDP ping on port 8056.
Connection forming
The client forms a tcp connection to the server. Or, when using the metaserver, the server forms a connection to the client. If this fails,
the client and server try a simultaneous SYN connect. This sometimes works if the server and client are behind firewalls. The server then
tries to transmit the data over udp. If it gets no response from the client it will fall back to the existing tcp connection.
OPTIONS -b N, --begin N, --start N
Start at board (level) number N. The default is 1. See also the -s option.
-h, --help
Display help.
-i, --infinite
Restart the server at the end of the game. Normally the server quits after a certain period of inactivity. This is useful when used
with the -m option to make a public server that is available for a long time.
-l N, --lives N
Limit number of lives to N. If this option is not specified the number of lives will be infinite.
-m, --metaserver
Register server with the Metaserver (currently) at codespeak.net:8050. This makes your server visible to everybody, and also facil-
itates joining through a fascistic firewall.
--port TYPE=N Sets default listening ports. If type is LISTEN , sets the game server port to N. The game server port is chosen randomly by
default. If the type is HTTP , sets the http server port to N. The http server port defaults to 8000. Another port will be chosen
if none was specified and 8000 is already in use. The server also listens to UDP ping on port 8056.
-s N, --step N
Increase board number with N when a board is completed. Defaults to 1. see also the -b option.
OUTPUT
The server outputs helpful debug information concerning the http and game servers.
SEE ALSO bubbros(6)bubbros-client(6)
December 7, 2007 bubbros-server(6)