[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] can't translate character code 229 to special character `oa'
From: |
Eli Zaretskii |
Subject: |
Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput |
Date: |
Thu, 11 Jun 2015 17:21:24 +0300 |
> cc: address@hidden
> Date: Thu, 11 Jun 2015 15:18:17 +0100
> From: Ralph Corderoy <address@hidden>
>
> Hi Eli,
>
> > - system("groff -Tpdf -dPDF.EXPORT=1 -mom -z $cmdstring 2>&1 | grep
> > '^\.ds' | groff -Tpdf -mom - $preconv $cmdstring");
> > + system("groff -Tpdf -dPDF.EXPORT=1 -mom -z $cmdstring 2>&1 | grep
> > \"^\.ds\" | groff -Tpdf -mom - $preconv $cmdstring");
>
> This looks wrong both times. :-) It's a double-quoted string in perl,
> so backslash is interpreted as an escape thus \. needlessly escapes the
> non-special dot giving just a dot and grep sees `^.ds' for the pattern
> AFAICS.
Could very well be. Perl is largely a read-only language for me.
The point is that '...' quoting cannot be used, unless the shell is a
Posix shell. I suggest "..." quoting instead.
Thanks.
- [Groff] can't translate character code 229 to special character `oa' in transparent throughput, mikkel meinike, 2015/06/10
- Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput, Keith Marshall, 2015/06/10
- Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput, Deri James, 2015/06/10
- Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput, mikkel meinike, 2015/06/10
- Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput, Deri James, 2015/06/10
- Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput, Eli Zaretskii, 2015/06/11
- Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput, mikkel meinike, 2015/06/11
- Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput, Ralph Corderoy, 2015/06/11
- Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput,
Eli Zaretskii <=
- Re: [Groff] can't translate character code 229 to special character `oa' in transparent throughput, Eli Zaretskii, 2015/06/11