Search Results

Search: Posts Made By: pasam
4,886
Posted By pasam
:wall::eek:
:wall::eek:
4,886
Posted By pasam
It will work but small error
Thanks Skrynesaver

when I run this script I got following error:
------------------------------
chiru (from input text file)

Invalid top directory at /opt/perl/lib/5.8.2/File/Find.pm line...
Forum: UNIX and Linux Applications 12-22-2011
8,175
Posted By pasam
Code: #!/usr/bin/perl use strict; use...
Code:
#!/usr/bin/perl
use strict;
use warnings;
use File::Find;
# usage $0 <directory list>
open (my $input, '<', "names.txt")
||die "Couldn't open names.txt file:\n\t$!\n";
while...
Forum: UNIX and Linux Applications 12-22-2011
8,175
Posted By pasam
Perl Script to read an excel file into an array and search in the UNIX directories
Hi,
I want the Perl script with versions 5.8.2 and 5.8.5 starting with

#!/usr/bin/perl

The Perl program should read the excel file or text file line by line and taking into an array and...
4,886
Posted By pasam
Thanks Skrynesaver. I have tried with Your script...
Thanks Skrynesaver. I have tried with Your script as following.
#!/usr/bin/perl
use strict;
use warnings;
use File::Find;
# usage $0 startup
open (my $input, '<', "names.txt")
||die...
4,886
Posted By pasam
Hi, Ludwing, in one of my UNIX box ...
Hi, Ludwing,
in one of my UNIX box
which I have the Perl version 5.8.2 built for PA-RISC1.1-thread-multi(with 25 registered patches).In this box I want to search for .jsp and .js...
4,886
Posted By pasam
Hi Ludwig, when I tried this command, Code:...
Hi Ludwig,
when I tried this command,
Code:
find . -type f \( -name '*.jsp' -o -name '*.js' \) -print0 | xargs -0 grep -n chiru
I got the below errors :
find : missing conjunction
xargs:...
4,886
Posted By pasam
Thanks Ludwig, Actually I am new...
Thanks Ludwig,
Actually I am new to this shell script and PERL and I want the file content which have to print line by line and reference file (.jsp, .js,.xsl )
For Example:
if in...
4,886
Posted By pasam
PERL or SHELL Scrript to search in Directories by taking line by line from a text file
Unix box server version
***********

>uname -r
B.11.00

>echo $SHELL
/usr/bin/ksh

--> in this server, I have the path like /IMbuild/dev/im0serv1
---> in that directory I have the...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 08:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy