Hi Everyone,
There is a perl file: a.pl
============
#!/usr/bin/perl
my $config_file = $ARGV;
open CONFIG, "$config_file" or die "Program stopping, couldn't open the configuration file '$config_file'.\n";
my $config = join "", <CONFIG>;
close CONFIG;
eval $config;
die "Couldn't... (1 Reply)
Hi,
This is the first time playing around with perl and need some help.
Assuming if i have a line of text that looks like this:
Date/Time=Nov 18 17:12:11;Device Name=192.168.1.1;Device IP=192.168.1.1;Device Class=IDS;Source IP=155.212.212.111;Source Name=UNKNOWN;Source Port=1679... (3 Replies)
Very new to perl and have an exististing script which I need to capture some variables to a log file. My below code works well, except the @cmds array has some %20 which I need replaced with a space and some <br> which needs a \n instead. I tried messing around with a foreach, but have failed.
... (6 Replies)
i am very new to Perl. i am using Ubuntu. i have a string call $string that contains following words "new line". i also have a data file as follows.
djfibjbet
etitrbjijbtr rrge rgjierjegjeri
jerijg
kijij jijij
i want to write my new line to my data file as follows.
djfibjbet... (3 Replies)
hi, i am a really new to Perl. i have a following code that is working well.
"
i know this is really simple, but i cant figure out a way to do this. can someone help me please?:( (1 Reply)
I have 1 file that has elements as follows. Also the CVR(10) and the word "SAUCE" only appear once in the file so maybe a grep command would work?
file1
CVR( 9) = 0.385E+05, ! VEHICLE
CVR(10) = 0.246E+05, ! SAUCE
CVR(11) = 0.162E+03, ! VEHICLE
I need to extract the... (6 Replies)
Hi,
I am trying to do a write operation followed by a read operation on the same file through Perl, expecting the output produced by read to contain the new lines added, as follows:
#! /usr/bin/perl -w
open FH, "+< testfile" or die "$@";
print FH "New content added\n";
while (my $line =... (1 Reply)
I have file which contains a huge amount of data. I need to search the pattern Message id. When that pattern is matched I need to get abcdeff0-1g6g-91g3-1z2z-2mm605m90000 to another file.
Kindly provide your input.
File is like below
Jan 11 04:05:10 linux100 |NOTICE... (2 Replies)
Hi
I am trying to build a web form where it can take the input from the user and write it to a file. And when I will open that form again that for should read the file that was created at the 1st step and all the fields should auto populate from that file. I have 20 text fields in my form. I... (1 Reply)
Discussion started by: sauravrout
1 Replies
LEARN ABOUT DEBIAN
gm_ctl_client
GNUMED(1) General Commands Manual GNUMED(1)NAME
gm_ctl_client - GNUmed XML-RPC connector for legacy applications
SYNOPSIS
gm_ctl_client [--log-file=FILE] [--conf-file=FILE] [--text-domain=TEXTDOMAIN] [--lang-gettext=LANGUAGE]
DESCRIPTION
gm_ctl_client is a small helper program acting as a client for the XML-RPC API of the GNUmed client.
This API can be used by 3rd-Party software to remote control a GNUmed client.
OPTIONS --text-domain=TEXTDOMAIN
Set this to change the name of the language file to be loaded. Note, this does not change the directory the file is searched in,
only the name of the file where messages are loaded from. The standard textdomain is, of course, "gnumed.mo". You need only specify
the base name of the file without the .mo extension.
--log-file=FILE
Use this to change the name of the log file. The default log file would be <~/.gnumed/gnumed.log>.
--conf-file=FILE
Use configuration file FILE instead of searching for it in standard locations.
--lang-gettext=LANGUAGE
Explicitly set the language to use in gettext translation. The very same effect can be achieved by setting the environment variable
$LANG from a launcher script.
ENVIRONMENT
LANG, LC_MESSAGES, etc.
See gettext(1) for how the various locale related environment variables work.
FILES
~/.gm_ctl_client/gm_ctl_client.log
The default log file.
~/.gm_ctl_client/gm_ctl_client.conf
The default configuration file.
SEE ALSO gettext(1)gnumed(1)
http://www.gnumed.org
Users' website
http://www.gnumed.de
German website
http://savannah.gnu.org/projects/gnumed
source code repository (CVS)
http://wiki.gnumed.de
detailed Wiki-style documentation
BUGS
A lot of functionality is still missing. However, to make up for that, we deliver a plethora of bugs for your amusement :-)
REVISION
$Id: gm_ctl_client.1,v 1.2 2009-12-21 15:00:39 ncq Exp $
Manual for gm_ctl_client 2007 January 28 GNUMED(1)