On Thu, 1 Feb 2001, Anthony Capone wrote:
If I wanted awk to search through a paragraph and stop at every blank line,
display what it found, then continue to the next paragraph and do the
same...where would I start???
Perhpas something like this:
awk '! /^$/ { print } /^$/ { getline input
Cool...thanks for the help!!
Anthony Capone
- Original Message -
From: "Luke C Gavel" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 02, 2001 12:12 PM
Subject: Re: OT: AWK
On Thu, 1 Feb 2001, Anthony Capone wrote:
If I wanted awk to search through a
Hi,
I am sorry for this off topic, but I need help.
I am trying to get awk to display this line:
/home/acapone:
but I do not want it to display this:
drwx-- 2 acapone users4096 Oct 12 08:23 temp
I would like awk to search for the pattern: / at the beginning of the line,
I would like awk to search for the pattern: / at the beginning of the line,
followed by any number of characters, followed by :
I am stuck and I am not sure how to do this. Also, if anyone has some good
links on the usages of awk, I would appreciate them. I have the book Unix in
a Nutshell
On Thu, 1 Feb 2001, Anthony Capone wrote:
I am trying to get awk to display this line:
/home/acapone:
but I do not want it to display this:
drwx-- 2 acapone users4096 Oct 12 08:23 temp
I would like awk to search for the pattern: / at the beginning of the line,
On Thu, 1 Feb 2001, Anthony Capone wrote:
I would like awk to search for the pattern: / at the beginning of the
line, followed by any number of characters, followed by :
You can do this lots of ways, using perl, bash 2.x, awk, sed, or some
combination of these. The trick is to understand
start??? Again, Thanks for the link... Sympatico?? I am
from Toronto...what about you?
Thanks,
Anthony Capone
- Original Message -
From: "Luke C Gavel" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 01, 2001 7:36 PM
Subject: Re: OT: AWK
On Thu, 1 Feb 2001, Anth