nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] m_getfld() bug fix

2013-12-08 04:30:16
Hi David,

Ah, but it busts on Solaris:

  awk: syntax error near line 1
  awk: bailing out near line 1

At least we know where the problem is.

Oh, line 1.  `awk --posix' here suggests length would like parenthesis.

    awk '!length() && e {next} {e = !length()} 1'

I wonder if `diff -b' is the wrong approach as it's applying the -b to
the whole file.  Would using sed to canonicalise that one line to no
spaces at start or end, and only one space in between be better?

Cheers, Ralph.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>