From: Elliot Holden <[EMAIL PROTECTED]>
> ok this is problem going to be real easy for one of you PERL gurus but
It's either Perl (the language) or perl (the interpreter), there is
no such thing as PERL.
> my little brain just can't figure it out. From the command line (Solaris
> 9) I can do
On Tue, 27 Nov 2007 19:43:55 -0500
Elliot Holden <[EMAIL PROTECTED]> wrote:
> But in PERL the below code does not work:
>
> system("echo my little test | mailx -s \"Test Message\"
> [EMAIL PROTECTED]");
>
> even if I just do:
>
> system("mailx [EMAIL PROTECTED]");
You need to escape the '@' i
On 11/27/07, Elliot Holden <[EMAIL PROTECTED]> wrote:
> system("echo my little test | mailx -s \"Test Message\"
> [EMAIL PROTECTED]");
What is that command? This code should show it to you:
print "The command is: echo my little test | ";
print "mailx -s \"Test Message\" ";
print "[EMAIL PR
ok this is problem going to be real easy for one of you PERL gurus but
my little brain just can't figure it out. From the command line (Solaris
9) I can do this fine:
echo my little test | mailx -s "Test Message" [EMAIL PROTECTED]
But in PERL the below code does not work:
system("echo my lit
Chinku Simon wrote:
>
> Hi,
Hello,
> I am facing an issue with the perl system command
>
> The relevant lines of code are the following:
>
> chdir "$util";
> my @args = ("ldapmodify", "-D \"cn=$bdn\"", "-w $bp", &quo
Hi,
I am facing an issue with the perl system command
The relevant lines of code are the following:
chdir "$util";
my @args = ("ldapmodify", "-D \"cn=$bdn\"", "-w $bp", "-h $svr", "-f \"$ldif\"", "-c",
&q
"Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message
3C4DB27B.15762.1FE92DCC@localhost">news:3C4DB27B.15762.1FE92DCC@localhost...
> From: "Kevin Kirwan" <[EMAIL PROTECTED]>
>
> > Guys,
> > I've got a newbie question: I'm writing a Perl program to get some
> > system information about
From: "Kevin Kirwan" <[EMAIL PROTECTED]>
> Guys,
> I've got a newbie question: I'm writing a Perl program to get some
> system information about particular users. The command(s):
> $command=q(/usr/bin/last vtran|head -1|awk '{print $4,$5}');
> $Last=system "$command"; print $La
On Jan 22, Kevin Kirwan said:
>$command=q(/usr/bin/last vtran|head -1|awk '{print $4,$5}');
>$Last=system "$command";
>print $Last;
>
>This returns the fields that I want, except I also get the return code (0),
No. This prints the fields you want when you call system(), and returns
the error co
Guys,
I've got a newbie question: I'm writing a Perl program to get some system
information about particular users.
The command(s):
$command=q(/usr/bin/last vtran|head -1|awk '{print $4,$5}');
$Last=system "$command";
print $Last;
This returns the fields that I want, except I also get the return
10 matches
Mail list logo