On Tue, 2008-11-18 at 10:49 -0500, Adam Jimerson wrote:
Matthew Whipple wrote:
The open must have failed. You could work on getting a more descriptive
error message but I'd suggest starting with the the path and
permissions. Also check to make sure existing files are handled
On Fri, 21 Nov 2008 03:41:21 -0500
michael spellman [EMAIL PROTECTED] wrote:
On Thu, Nov 20, 2008 at 8:32 PM, Owen [EMAIL PROTECTED] wrote:
On Thu, 20 Nov 2008 06:32:51 -0800 (PST)
marys [EMAIL PROTECTED] wrote:
I am not altogether certain what you are trying to achieve.
Read up on
On Nov 20, 4:58 pm, [EMAIL PROTECTED] (John W. Krahn) wrote:
marys wrote:
Hello:
Hello,
Does anyone know how to use ‘awk’ in a script?
perl and awk have a lot of similar features so its usually preferable to
use perl in a perl program instead of awk.
It must have a
different syntax
On Nov 21, 4:47 pm, [EMAIL PROTECTED] (Owen) wrote:
On Fri, 21 Nov 2008 03:41:21 -0500
michael spellman [EMAIL PROTECTED] wrote:
On Thu, Nov 20, 2008 at 8:32 PM, Owen [EMAIL PROTECTED] wrote:
On Thu, 20 Nov 2008 06:32:51 -0800 (PST)
marys [EMAIL PROTECTED] wrote:
I am not
Owen wrote:
You need to run something like this. Adapt to your requirements
#!/usr/bin/perl -w
use strict;
while (DATA) {
my $line = $_;
if ( $line =~ /QQQ/ ) {
my @bits = split;
print $bits[$#bits -1]\n;