Hi,
I have a script written below (by John Krahn and WC-Sx-Jones from this mailing list)
which changes the file format from:
#cat PSCS-ORIG
abinabdu adanie2 agibson agoh1aiabouse
akko alau alee1alee2amitb
amohdali amshams anmohand
to the format listed below when pr
Hi John,
Yes I intended to put all into a single array, but failed to do so earlier. When I
execute the script I expect the output to look like:
abinabdu
adanie2
agibson
agoh1
aiabouse
akko
alau
alee1
alee2
amitb
amohdali
amshams
anmohand
Thanks
-Original Message-
From: John W. Krahn [
HI,
I would like to change output format of a file from:
abinabdu adanie2 agibson agoh1aiabouse
akko alau alee1alee2amitb
amohdali amshams anmohand
to the format listed below when printing it out to the standard output:
abinabdu
adanie2
agibson
agoh1
aiabouse
gave make no
sense since you're not sending mail." found in the file WRAPPER.OUT.
Any help is indeed appreciated.
Thanks
-Original Message-----
From: Leaw, Chern Jian
Sent: Sunday, June 29, 2003 6:17 PM
To: [EMAIL PROTECTED]
Subject: Converting/executing a PERL script in binar
efore enforcing such good PERL programming practices.
Hope that this is acceptable by this forum's community.
Thanks
> -Original Message-
> From: Leaw, Chern Jian
> Sent: Friday, June 27, 2003 5:20 PM
> To: [EMAIL PROTECTED]
> Subject: Convertin
HI,
I'm wanting to execute my PERL script in a binary/executable form. I wrote a
C wrapper to do so. However, when executing the binary code produced by the
wrapper, it produced the warning message as attached the file
WRAPPER-OUTPUT.txt.
However, when executing just the script itself, the script
HI John & eveyone,
I did solve the syntax error with regards to the format utility. However,
when I tried including the format utility into the contents of the mail, the
contents of the mail were empty.
Hence I tried writting the formatted contents into a text file and it
worked. The only drawba
HI John,
I tried the method that you suggest below:
format STDOUT =
@ @#.## @<< @<< @#.## @<<
@
$progNo, $version, $protocol, $port, $service, $response
.
This suggestion did eliminate the syntax error.
However, the info
Hi,
I have the script below which outputs some values in a "tabular" form into
the body of a mail. I'm using the format utility in PERL to output the
values in a tabular form as in:
PROG NO VERSION PROTOCOLPORTSERVICE RESPONSE
--
% ./file-3a.pl
/home/weird opened successfully
Here ...
Here ...
Here ...
Here ...
prog no =
version =
protocol=
port =
service =
response =
The expected output, assuming everything is correct, would have a mail
generated with the format below:
Date: Tue, 10 Jun 2003 18:48:28 +0800 (MAL)
From: A
HI Rob,
>From the output generated below, I would like to obtain the string from
"RPC: Timed out" onwards. This string corresponds to the response attribute.
Another example of the response attribute is the "program 18 version 1
sleeping".
107374 / 1 / udp / 64018 / rpcinfo / RPC: Timed out
10
HI,
I have a text file below which is simply an output from the UNIX utility
rpcinfo:
181 udp 55734 walld program 18 version 1 ready and
waiting
1073741 udp 64018 rpcinfo: RPC: Timed out
181 tcp 55684 sprayd program 18 version 1 sleeping
I
HI,
I have the attached script which reads the input text file of the form:
# cat rpcinfo.txt
program vers proto port service response
104 tcp 111 portmapperprogram 10 version 4 ready
and waiting
103 tcp 111 portmapperprogram 10 ver
Hi,
I'm trying to add the symbol '#' in the /etc/services file for disabling the
following services:
ftp
chargen
daytime
I've placed the name of the services i.e ftp, chargen, daytime into a text
file to be read by the script. This is because there are many other services
to be disabled from the
14 matches
Mail list logo