From: Jean Schuller <schuller () crnal4 ! in2p3 ! fr>
To: tru64-unix-managers
Subject: PERL Problem
Date: Tue, 18 Mar 1997 15:05:07 +0000 [thread overview]
Message-ID: <96078609810455.tru64-unix-managers.marc@archive.invalid> (raw)
I know, I'm not on the right place but I hope to find a PERL guru
who can give me a little help :
When I execute my script :
#!/usr/local/bin/perl
print "Start of splitting main file\n";
system("split -100 FINAL.LISTE_SORTED SORTIX.");
print "Main file splitted\n";
@list =3D `ls SORTIX* `;
print "SORTIX List created\n";
$rank=3D0;
foreach $li (@list)
{
print "I read ",$li," I write ",$outfile,"\n";
$rank++;
$outfile=3D"SORTIX".$rank;
system("mv $li $outfile");
}
=2E
=2E
=2E
I have each time an error message :
Start of splitting main file
Main file splitted
List with SORTIXn created
I read SORTIX.aa
I write SORTIX1
usage: mv [-i | f] [--] src target
or: mv [-i | f] [--] src1 ... srcN directory
or: mv [-i | f] [--] directory1 ... destination_directory
sh: SORTIX1: not found
I read SORTIX.ab
I write SORTIX2
usage: mv [-i | f] [--] src target
or: mv [-i | f] [--] src1 ... srcN directory
or: mv [-i | f] [--] directory1 ... destination_directory
Do I miss something ??
TIA
JEAN
-------------------------------------------------------------------------=
----
Jean Schuller _/ _/_/_/ _/_/_/ _/_/_/_/
schuller@crnal4.in2p3.fr _/ _/ -/ _/ _/ _/ =20
_/ _/_/_/-/ _/_/_/ _/_/_/_/
_/ _/ -/ _/ _/
_/ _/ _/ _/_/_/ _/_/_/_/ =20
local call: 0388106630 Institut de Recherches Subatomiques
foreign call: (33)388106630 Bo=EEte Postale 28=20
local fax : 0388106234 23, Rue du Loess
foreign fax : (33)388106234 F-67037 STRASBOURG CEDEX - France
-------------------------------------------------------------------------=
----
next reply other threads:[~1997-03-18 15:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-18 15:05 Jean Schuller [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-10-11 12:00 PERL Problem Gary Shine
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox