home *** CD-ROM | disk | FTP | other *** search
- Path: 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>
-
- 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
-
-