Re: File Help

2009-10-21 Thread Jim Gibson
At 3:06 AM +0100 10/22/09, Jyoti wrote: Heya, Can anyone help me download my output results, please? I am actually doing my (Blast program) search and getting the output result files in my temporary folder, as I am told to do so. Now, how can I save that output file or download the file from my

File Help

2009-10-21 Thread Jyoti
Heya, Can anyone help me download my output results, please? I am actually doing my (Blast program) search and getting the output result files in my temporary folder, as I am told to do so. Now, how can I save that output file or download the file from my temporary folder. I have to save as when w

Re: Find::File help

2007-12-10 Thread Randal L. Schwartz
> "sunckell" == sunckell <[EMAIL PROTECTED]> writes: sunckell>Hope everyone had a great weekend. I was working on a perl sunckell> wrapper around the lsof command. On the AIX machines I work on the sunckell> version of lsof does not display the file name, only the node. So I sunckell>

Re: Find::File help

2007-12-10 Thread John W . Krahn
On Monday 10 December 2007 05:59, sunckell wrote: > > Hey group, Hello, >Hope everyone had a great weekend. I was working on a perl > wrapper around the lsof command. On the AIX machines I work on the > version of lsof does not display the file name, only the node. So I > thought I would w

Find::File help

2007-12-10 Thread sunckell
Hey group, Hope everyone had a great weekend. I was working on a perl wrapper around the lsof command. On the AIX machines I work on the version of lsof does not display the file name, only the node. So I thought I would write a small wrapper around lsof that does a find on the inode (with th

Re: log file help

2006-11-15 Thread Chris Parker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mumia W. wrote: > On 11/14/2006 09:53 PM, Chris Parker wrote: >> >> I couldn't find the answer while googling for a regexp to pull the ip >> from my log files so here I am. I am trying to get the ip's (source and >> destination) along with the ports f

Re: log file help

2006-11-15 Thread Mumia W.
On 11/14/2006 09:53 PM, Chris Parker wrote: I couldn't find the answer while googling for a regexp to pull the ip from my log files so here I am. I am trying to get the ip's (source and destination) along with the ports for a summary. WFLOG doesnt cover my firewall so I thought id try. Code i

Re: log file help

2006-11-14 Thread Rob Dixon
Chris Parker wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I couldn't find the answer while googling for a regexp to pull the ip from my log files so here I am. I am trying to get the ip's (source and destination) along with the ports for a summary. WFLOG doesnt cover my firewall so I t

log file help

2006-11-14 Thread Chris Parker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I couldn't find the answer while googling for a regexp to pull the ip from my log files so here I am. I am trying to get the ip's (source and destination) along with the ports for a summary. WFLOG doesnt cover my firewall so I thought id try. Code i

Re: file help

2006-08-03 Thread Ashish Srivastava
First verify that your command is giving the correct output. I don't see anything wrong with the code itself. Try to catch standard error. "Sayed, Irfan (Irfan)" <[EMAIL PROTECTED]> wrote: Hi All, I did as follows but still not getting output in a file. plz help #/usr/atria/bin/Perl -

Re: file help

2006-08-03 Thread Prabu
Sayed, Irfan (Irfan) wrote: Hi All, I did as follows but still not getting output in a file. plz help #/usr/atria/bin/Perl -w use strict; use warnings; my $CT = "/usr/atria/bin/cleartool"; my @vob_list = `$CT lsvob -s`; my $fname = "/tmp/vob_trigger"; open FILE,">>",$fname or die

file help

2006-08-03 Thread Sayed, Irfan \(Irfan\)
Hi All, I did as follows but still not getting output in a file. plz help #/usr/atria/bin/Perl -w use strict; use warnings; my $CT = "/usr/atria/bin/cleartool"; my @vob_list = `$CT lsvob -s`; my $fname = "/tmp/vob_trigger"; open FILE,">>",$fname or die $!; foreach (@vob_list) {

Re: file help

2006-08-02 Thread Mumia W.
On 08/02/2006 10:39 AM, Sayed, Irfan (Irfan) wrote: Hi All, Following is the code which i am executing but i am not getting the output of command my $out = system($cmd); into the file. Plz help. Regards Irfan. #/usr/atria/bin/Perl -w use strict; use warnings; my $CT = "/usr

Re: file help

2006-08-02 Thread John W. Krahn
Sayed, Irfan (Irfan) wrote: > Hi All, Hello, > Following is the code which i am executing but i am not getting the > output of command my $out = system($cmd); into the file. > > > #/usr/atria/bin/Perl -w > > use strict; > use warnings; > my $CT = "/usr/atria/bin/cleartool"; > my @vo

Re: file help

2006-08-02 Thread Rob Dixon
Sayed, Irfan (Irfan) wrote: Hi All, Following is the code which i am executing but i am not getting the output of command my $out = system($cmd); into the file. Plz help. Regards Irfan. #/usr/atria/bin/Perl -w use strict; use warnings; my $CT = "/usr/atria/bin/cleartool"; m

file help

2006-08-02 Thread Sayed, Irfan \(Irfan\)
Hi All, Following is the code which i am executing but i am not getting the output of command my $out = system($cmd); into the file. Plz help. Regards Irfan. #/usr/atria/bin/Perl -w use strict; use warnings; my $CT = "/usr/atria/bin/cleartool"; my @vob_list = `$CT lsvob -s`; m

Re: [OT]Re: log file -help

2003-07-01 Thread Sudarshan Raghavan
Vema Venkata wrote: Raghavan Can you re-write the same functionality in the perl pgm since i cudn't find any mailing list for shell wud be appreicated ur reply asap rgds venkat If you can get my boss' approval and pay for it, certainly :-) shell programming newsgroups must be under either comp.l

RE: [OT]Re: log file -help

2003-07-01 Thread Vema Venkata
bject: Re: [OT]Re: log file -help Vema Venkata wrote: >raghavan, >sorry to bother u. > >since i was new to this domain.. >can you let me know how did you make out it is shell not perl? >ur reply is most appreicated. > The if - fi construct, conditions specified within [] etc. a

[OT]Re: log file -help

2003-07-01 Thread Sudarshan Raghavan
Vema Venkata wrote: Hi All My code looks like this xapipgm=srvtst26.pl pgrep -f $xapipgm > /dev/null if [ $? -eq 0 ] then set `pgrep -f $xapipgm ` echo "AHD XAPI Server ($xapipgm) Running with Process Id: $1" else echo "AHD XAPI Server is now Started Running." set `date '+%Y %m %d %H %M' ` xap

log file -help

2003-07-01 Thread Vema Venkata
Hi All My code looks like this xapipgm=srvtst26.pl pgrep -f $xapipgm > /dev/null if [ $? -eq 0 ] then set `pgrep -f $xapipgm ` echo "AHD XAPI Server ($xapipgm) Running with Process Id: $1" else echo "AHD XAPI Server is now Started Running." set `date '+%Y %m %d %H %M' ` xapipgm=srvtst2

Re: Reading Plain Text File - help

2003-02-07 Thread R. Joseph Newton
Ramón Chávez wrote: > Thank you very much guys. > > Rob, sorry but it didn't work > > open (DATOS, "$bd") || die "Error: no se puede abrir el > archivo"; > > while ($registro=) {} Hi Ramon, The empty brackets in the line above were meant to represent the whole body of the

RE: Reading Plain Text File - help

2003-02-07 Thread Kipp, James
> > I'm trying to read the last line on a Plain text File. > > The following was so well written by John I think it's worth > repeating. Thanks John! Absolutely. This should be made into a FAQ !! (or is there one already?) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: Reading Plain Text File - help

2003-02-07 Thread Rob Dixon
Rgíón «hávkú wrote: > I'm trying to read the last line on a Plain text File. The following was so well written by John I think it's worth repeating. Thanks John! John W. Krahn wrote: > > 1) Install http://search.cpan.org/author/URI/File-ReadBackwards-0.98/ > > use File::ReadBackwards; > my $bw =

RE: Reading Plain Text File - help

2003-02-07 Thread Ramón Chávez
--- WGO <[EMAIL PROTECTED]> To: 'Ramón Chávez' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 10:58 AM Subject: RE: Reading Plain Text File - help Ramón Chávez wrote: > I'm trying to read the last line on a Plain text File. > > But

RE: Reading Plain Text File - help

2003-02-07 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Ramón Chávez wrote: > I'm trying to read the last line on a Plain text File. > > But when I use: > > open (DATOS, "$bd") || die "Error: no se puede abrir el archivo"; > while > ATOS>){ > $registro = ; > } > > I don't get any value on $registro > > I need to insert $ini

RE: Reading Plain Text File - help

2003-02-07 Thread Hanson, Rob
e is probably a more efficient way)... while ($registro = ) {} Rob -Original Message- From: Ramón Chávez [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 11:52 AM To: [EMAIL PROTECTED] Subject: RE: Reading Plain Text File - help Sorry. Last message had an error.

RE: Reading Plain Text File - help

2003-02-07 Thread Ramón Chávez
Sorry. Last message had an error. -- I'm trying to read the last line on a Plain text File. But when I use: open (DATOS, "$bd") || die "Error: no se puede abrir el archivo"; while ATOS>){ $registro = ; } I don't get any value on $registro I ne

Reading Plain Text File - help

2003-02-07 Thread Ramón Chávez
I'm trying to read the last line on a Plain text File. But when I use: open (DATOS, "$bd") || die "Error: no se puede abrir el archivo"; while ATOS>){ $registro = ; } I don't get any value on $registro I need to insert $inicio = ; -- This way to get the the las

RE: logging data to text file help!!

2002-09-12 Thread Winchester, Derek S (Derek)
-Original Message- From: Winchester, Derek S (Derek) [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 12:22 PM To: [EMAIL PROTECTED] Subject: logging data to text file I have composed this perl script and I would like the results from each command to append a log file. Is

Re: add text to a file.....Help

2002-01-09 Thread John W. Krahn
Curtis Poe wrote: > > --- "John W. Krahn" <[EMAIL PROTECTED]> wrote: > > Peter Lemus wrote: > > > > > > I have a file "1st file) that reads... > > > one > > > two > > > three > > > four > > > five > > > > > > Anotherone "2nd file"that reads: > > > day > > > weeks > > > months > > > quarter > > >

Re: add text to a file.....Help

2002-01-08 Thread Curtis Poe
--- "John W. Krahn" <[EMAIL PROTECTED]> wrote: > Peter Lemus wrote: > > > > I have a file "1st file) that reads... > > one > > two > > three > > four > > five > > > > Anotherone "2nd file"that reads: > > day > > weeks > > months > > quarter > > year > > century > > > > I need to read the 2nd f

Re: add text to a file.....Help

2002-01-08 Thread John W. Krahn
Peter Lemus wrote: > > I have a file "1st file) that reads... > one > two > three > four > five > > Anotherone "2nd file"that reads: > day > weeks > months > quarter > year > century > > I need to read the 2nd file and add the text from it > to every word of the first 1st file. So it will look

Re: add text to a file.....Help

2002-01-08 Thread Matthew Peter Lyon
ohmygod lol - Original Message - > Homework Perl assignments? Where can I sign-up for that? :D -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: add text to a file.....Help

2002-01-08 Thread Agustin Rivera
t;[EMAIL PROTECTED]> To: "Peter Lemus" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 08, 2002 8:46 AM Subject: Re: add text to a file.Help > Forgive me if my secret homework sensors are too sensitive but this > sounds like a homework

Re: add text to a file.....Help

2002-01-08 Thread Agustin Rivera
Webmaster, Pollstar.com http://www.pollstar.com - Original Message - From: "Peter Lemus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 08, 2002 8:47 AM Subject: add text to a file.Help > Hi, > I have a file "1st file) that reads... >

Re: add text to a file.....Help

2002-01-08 Thread Casey West
Forgive me if my secret homework sensors are too sensitive but this sounds like a homework assignment. Because it sounds like a homework assignment, I'll give you pointers to the documentation which should be very useful. On Tue, Jan 08, 2002 at 08:47:33AM -0800, Peter Lemus wrote: : :Hi, :I ha

add text to a file.....Help

2002-01-08 Thread Peter Lemus
Hi, I have a file "1st file) that reads... one two three four five Anotherone "2nd file"that reads: day weeks months quarter year century I need to read the 2nd file and add the text from it to every word of the first 1st file. So it will look something like: oneday oneweek onemonth onequarter