Building without perl
David M. Williams
d_wllms at lanl.gov
Thu Dec 12 13:40:53 EST 2002
OK, it fails on OX X. Here's what I got.
me at somehost % awk -f mdoc2man.awk < sftp.1 > sftp.1.awkver
awk: newline in character class [
]$...
source line number 47
context is
gth(line)&&!match(line,"[\n >>> ]$") <<< )
the cmdline produced a zero length file, obviously. I'm not an awk
expert so I can't offer much help I'm afraid.
Dave
Peter Stuge wrote:
>On Wed, Dec 11, 2002 at 04:34:23PM -0700, David M. Williams wrote:
>
>
>>Sorry to reply so late but it breaks on vanilla Mac OS X.
>>
>>
>
>Thanks for testing though! :)
>I believe the decision has been made to skip the fixpaths script completely,
>in favor of using sed directly in configure.
>
>Please do however test the awk script that I posted a while back. :)
>
>E.g. like this:
>
>First save mdoc2man.awk in openssh-3.5p1 somewhere, this is the file that I
>attached to my posting. Then:
>
>$ cd openssh-3.5p1
>$ perl mdoc2man.pl < sftp.1 > sftp.1.plver
>$ awk -f mdoc2man.awk < sftp.1 > sftp.1.awkver
>$ diff -U 2 sftp.1.plver sftp.1.awkver
>
>The diff should only return a few lines with a list of authors and hopefully
>the awk run shouldn't produce any error messages.
>
>
>//Peter
>
>
>
>
--
David M. Williams, CISSP Phone: 505-665-8062
Systems Engineer, CCN-2 Fax: 505-667-7428
Los Alamos National Laboratory Email: d_wllms at lanl.gov
More information about the openssh-unix-dev
mailing list