[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
indentation in awk-mode
From: |
Jeffery B. Rancier |
Subject: |
indentation in awk-mode |
Date: |
15 Jan 2003 15:29:47 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
I've searched the archives, but can't find what I'm looking for. My
awk code is formatting like so:
BEGIN
{}
{
if ( /^01PRICE/ )
{
print "Price Audit :" " " $0
}
if ( NF == 3 )
{
print "Record has " NF " fields."
}
}
END
{}
I'd rather have it look like:
BEGIN
{}
{
if ( /^01PRICE/ )
{
print "Price Audit :" " " $0
}
if ( NF == 3 )
{
print "Record has " NF " fields."
}
}
END
{}
Any ideas?
--
Thanks,
Jeff
,----
| Jeffery B. Rancier
|
| Softechnics
| a METTLER TOLEDO company
`----
- indentation in awk-mode,
Jeffery B. Rancier <=