Many thanks!!!
Shawn wrote:
>Hello,
>
>- Original Message -
>From: "Francesco Guglielmo" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, July 17, 2002 4:35 AM
>Subject: # question
>
>
>>($uno,$due,$tre,$quattro,$cin
($uno,$due,$tre,$quattro,$cinque,$sei) = split (/\s+/);
s/\#//;
print $sei;
Is it right to have $sei without #?
thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How can I say to my script to wait some seconds before continuing?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Anders Holm wrote:
>>I need to do a Perl script who do a certain command after 2 days.Example:
>>my file contains
>>
>>8 Jul 2002
>>
>>when I lunch the script it must control the date and if it's equal to
>>date+2 (in this case 10 Jul 2002) execute my commands trought system.I
>>thought to do thi
I need to do a Perl script who do a certain command after 2 days.Example:
my file contains
8 Jul 2002
when I lunch the script it must control the date and if it's equal to
date+2 (in this case 10 Jul 2002) execute my commands trought system.I
thought to do this transforming the date in this fo
That's the problem:
#!/usr/bin/perl
my $file = '/home/users/francesco/LISTAORDINATA.txt';
my $outfile = '/home/users/francesco/Perl/file/usrpasswdemail.txt';
my $file2 = '/home/users/francesco/Perl/file/peralberto.txt';
open (OUT, ">$outfile");
open (INPUTEMAIL, "$file2");
# open (INPUTPA
Please help me!
I'm going crazy!
It's perfect but I need something more.I need also the qw001234 with the
passwd that's in another file in format:
qw001234 rfvcde
And I want it for all lines of all files.
I'm obviously a beginner in perl so I don't know if it is possible.
Bye and many thanks f
Many thanks!But to take it from a file and not from a variable like $line?
> Hi Fransesco,
>
> Let's try this one then :)
>
> ($username, $name) = split(/:/, $line);
> chomp($username);
> chomp($name);
>
> I think you just learned chomp :)
>
> Regs David
> -
> >
> > I haven't yet
I haven't yet resolved my problem with pattern matching and I'm in front
of another problem.
I have a file with
username: name#there are one or more white space
I need to make a new file with
name username
I think I can do it with split but I don't know how.A little help?Thanks
--
It's perfect but I need something more.I need also the qw001234 with the
passwd that's in another file in format:
qw001234 rfvcde
And I want it for all lines of all files.
I'm obviously a beginner in perl so I don't know if it is possible.
Bye and many thanks for your help.
David vd Geer Inhuur
I have many files with username and passwd.The old files are in format:
qw001234 asdfgh# all usernames are composed by qw/po/zx + 00 + 4
number
The new files have three usernames and passwd for each number on each
line:
qw009876 qwertypo009876 poiuyt zx009876 mnbvcx
To pa
11 matches
Mail list logo