This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/49978] make pdf error on OS X
- From: "hal at oz dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 4 Aug 2011 17:35:37 +0000
- Subject: [Bug other/49978] make pdf error on OS X
- Auto-submitted: auto-generated
- References: <bug-49978-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49978
--- Comment #4 from hal at oz dot net 2011-08-04 17:35:34 UTC ---
Here's what it looks like:
$ echo foo | sed "s/\(^\|.* \)@documenten/bar/"
foo
$ pgm='s/^ *@documentencoding *\([^ ][^ ]*\) *$/\1/
> t found
> d
> :found
> q'
$ echo foo | sed -e "$pgm"
$ echo $pgm
s/^ *@documentencoding *\([^ ][^ ]*\) *$/\1/ t found d :found q