It looks good to me.
On Sun, 2 Jan 2022, hput via beginners wrote:
> I was just coding in in ksh93 for simple script but tangled up with
> way matching and regex work in ksh93.
>
> Finally trashed it turned to perl.
>
> Just have familiarity with one way of test in shell script:
>
> Put it i
TOMTOWTDI
(Sent from iPhone, so please accept my apologies in advance for any spelling or
grammatical errors.)
> On Jan 2, 2022, at 9:29 PM, hput via beginners wrote:
>
> I was just coding in in ksh93 for simple script but tangled up with
> way matching and regex work in ksh93.
>
> Finally
I was just coding in in ksh93 for simple script but tangled up with
way matching and regex work in ksh93.
Finally trashed it turned to perl.
Just have familiarity with one way of test in shell script:
Put it in an if clause like (in shell):
if [ cd somedir ];then
print "ok permissions we
Uri's post is excellent as always, and I hope he doesn't mind me
piggybacking on it:
2009/10/13 Uri Guttman :
>> "JF" == Jesus Fernandez writes:
>
> JF> Here is the script:
>
> it helps if your question and code are in the same posting. this will be
> a general code review as well as a solut
> "JF" == Jesus Fernandez writes:
JF> Here is the script:
it helps if your question and code are in the same posting. this will be
a general code review as well as a solution to this last bug.
JF> jaff
JF> #!jesusafernandez/bin/perl
JF> use warnings;
use strict ;
always use both s
Here is the script:
jaff
#!jesusafernandez/bin/perl
use warnings;
for ($samp=0; $samp<5000; $samp++)
{
$n = 1;
$k = 25;
while ($k>=2){
if ($k==1) {last;}
$mean=(4*$n)/$k*($k-1);
$time=(-log(rand)*$mean);
push(@coalt, $time);
$k=$k-1;
}
for ($time=0; $time<=24; $ti
[EMAIL PROTECTED] wrote:
> I am intended to make a scrip to do this: you could send a video scrip
> from your PC to a friend through the net. At the same time, the
> receiver should be able to play the video script.Yet, I don't know how
> to get Perl to do it? Which types of m
I am intended to make a scrip to do this: you could send a video scrip
from your PC to a friend through the net. At the same time, the
receiver should be able to play the video script.Yet, I don't know how
to get Perl to do it? Which types of modules I may need? Should I use
TCP/IP modul
TECTED]
> Subject: Perl Newbie question: How would you take keyboard input and run a
> shell scrip with that input?
>
> For example: I would like for the user to enter the
> name of a software package to use and then call a
> shell script to use that package name to upgrade
> soft
For example: I would like for the user to enter the
name of a software package to use and then call a
shell script to use that package name to upgrade
software.
Thanks
=
Jeffrey T. Collins
[EMAIL PROTECTED]
__
Do you Yahoo!?
Find out what made the Top Yahoo
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Wendy Stewart) writes:
>Hi,
>
>Help!! I'm a new Perl user and have devloped my first Perl script to
>extract fields from a Remedy form into a CSV file to be ftp'd elsewhere. I
>need to sort each record on Modified-date before writing to my outp
Hi Wendy,
I'm not sure exactly what you want. Do you get errors when you run the script? I do
see one possible cause for an error where you have:
$SelectQualifier = (ars_LoadQualifier($ctrl, "$SCHEMA", "('Modified-date'
>=(\$TIMESTAMP\$ - 60*60) OR 'Create-date' >= (\$TIMESTAMP
\$ - 60*60))
Not
Hi,
Help!! I'm a new Perl user and have devloped my first Perl script to
extract fields from a Remedy form into a CSV file to be ftp'd elsewhere. I
need to sort each record on Modified-date before writing to my output file.
The Modified-date format is in absolute time
(ie: 12/24/2002 7:17:13 P
Try passing $safe as a parameter to backThatThangUp(). Also, the ampersand
before the function name is really not used anymore, and is supposed to
denote that you wish to turn off prototyping. Anyway, try passing $safe as
a parameter, and add the following line at the beginning of the function:
14 matches
Mail list logo