[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Bibtex and latex export
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] Re: Bibtex and latex export |
Date: |
Fri, 08 Oct 2010 14:33:10 -0400 |
Achim Gratz <address@hidden> wrote:
> Otherwise you can't really use range expressions or character classes at
> all since they either permit illegal drive letters or might not work
> with due to the bugs in older versions of grep... it would however be
> possible to spell out each drive letter bot in upper and lower case,
> although that handicaps the permissible length of the filename (if the
> "-i" switch wasn't broken in some locales one could use it and save one
> version of the cases):
>
> echo "$command_line_filename" | LC_ALL=C $EGREP \
> '^(/|[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]:/)' >&6 \
> || command_line_filename="./$command_line_filename"
>
> *Shudder* :-)
>
Indeed :-)
There is a locale-independent range spec for regexps:
[:alpha:]
would match the indicated class in any locale. See the egrep man page
for more of these. I sent some mail to address@hidden suggesting
this, so we'll see.
I also found out to my surprise from the previously posted bug-texinfo
thread, that the ASCII characters between 'Z' and 'a' are (or were) legal
drive letters, but the assumption is that nobody would be so foolish as
to use them any more, so not checking for them is OK.
Nick
- [Orgmode] Re: Bibtex and latex export, (continued)
- [Orgmode] Re: Bibtex and latex export, Achim Gratz, 2010/10/07
- Re: [Orgmode] Re: Bibtex and latex export, suvayu ali, 2010/10/08
- Re: [Orgmode] Re: Bibtex and latex export, Eric S Fraga, 2010/10/08
- Re: [Orgmode] Re: Bibtex and latex export, suvayu ali, 2010/10/08
- Re: [Orgmode] Re: Bibtex and latex export, Nick Dokos, 2010/10/08
- Re: [Orgmode] Re: Bibtex and latex export, suvayu ali, 2010/10/08
- Re: [Orgmode] Re: Bibtex and latex export, Nick Dokos, 2010/10/08
- [Orgmode] Re: Bibtex and latex export, Achim Gratz, 2010/10/08
- Re: [Orgmode] Re: Bibtex and latex export, Eric S Fraga, 2010/10/08
- [Orgmode] Re: Bibtex and latex export, Achim Gratz, 2010/10/08
- Re: [Orgmode] Re: Bibtex and latex export,
Nick Dokos <=
- [Orgmode] Re: Bibtex and latex export, Achim Gratz, 2010/10/08
- [Orgmode] Re: Bibtex and latex export, Bernt Hansen, 2010/10/08
- [Orgmode] Re: Bibtex and latex export, suvayu ali, 2010/10/08
Re: [Orgmode] Re: Bibtex and latex export, Eric S Fraga, 2010/10/06