🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1318

autoheader (autoconf 1.3)

#1318
From: Jun Hamano
Date: Tue, 26 Jan 1993 01:35
22 lines
1111 bytes
On SunOS 4.1.2, autoheader fails to parse m4 output because of
broken sed.  The attached script illustrates this bug.  I'm not
sure whether it is a good idea to work around this bug in
autoheader, or detect the broken sed and tell the user to use GNU
sed.

-- >8 ---- >8 ---- >8 ---- >8 ---- >8 ---- >8 ---- >8 --

#!/bin/sh
# Show sed bug

sed -n '/^@/,/@$/p' <<\EOF
1 This should be ignored.
@2 This is to be output.@
3 This should be ignored.
@4 This is to be output.@
@5 This is to be output.@
6 This should be ignored.
7 This should be ignored.
@8 This is to be output.
9 So is this.@
EOF
Technical Details
Message-ID: <9301241050.AA29740@shadow.twinsun.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!shadow.TWinsun.COM!junio

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!shadow.TWinsun.COM!junio
From: junio@shadow.TWinsun.COM (Jun Hamano)
Newsgroups: gnu.utils.bug
Subject: autoheader (autoconf 1.3)
Date: 25 Jan 1993 20:35:32 -0500
Organization: GNUs Not Usenet
Lines: 23
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-utils@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9301241050.AA29740@shadow.twinsun.com>