I am having problems with my AWK script. It used to work a couple of months ago (on potato), but not anymore (on woody). I have no idea why, since I seldom use it. I tried both mawk and gawk.
Apparently, $0 includes a "^M" character at the end. Thus, for an empty line: /^$/ has to be changed to /^.$/ . Is there any wrong environment on my system? Any clue? -- Abdul Latip -- Angkasa Internet Junior Staff -- ANGIN.com http://people.WebIndonesia.com/dullatip/ ---------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]