[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: [PATCH] change Perl syntax to support Perl 5.6
From: Jakub Narebski <jnareb () gmail ! com>
Date: 2008-08-31 20:55:15
Message-ID: 200808312255.16943.jnareb () gmail ! com
[Download RAW message or body]
Jakub Narebski wrote:
> We have to go to quote.c to get to know why "!" is a special case too,
> in addition to "'". The commit message for 77d604c3 (by H. Peter Anvin,
> which is CC-ed) states:
>
> Create function to sq_quote into a buffer
> Handle !'s for csh-based shells
Although according to POSIX
Enclosing characters in single-quotes ( '' ) shall preserve the literal
value of each character within the single-quotes. A single-quote cannot
occur within single-quotes.
so "!" should be not treated as special character in POSIX shell,
csh unfortunately does not follow this. Try
$ echo '!!'
in csh, tcsh (now that's funny) and bash (or dash).
--
Jakub Narebski
Poland
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic