Your message dated Sat, 03 Jul 2010 09:32:52 +0300
with message-id <[email protected]>
and subject line Re: Bug#587935: first/all character in uppercase
has caused the Debian Bug report #587935,
regarding first/all character in uppercase
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
587935: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587935
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: perl-doc
Version: 5.10.1-13
Severity: wishlist
File: /usr/share/man/man1/perlfunc.1.gz
For both of these please add "doesn't alter any of the remaining
characters".
ucfirst EXPR
ucfirst Returns the value of EXPR with the first character in uppercase
(titlecase in Unicode). This
is the internal function implementing the "\u" escape in
double-quoted strings. Respects
current LC_CTYPE locale if "use locale" in force. See
perllocale and perlunicode for more
details about locale and Unicode support.
If EXPR is omitted, uses $_.
lcfirst EXPR
lcfirst Returns the value of EXPR with the first character lowercased.
This is the internal function
implementing the "\l" escape in double-quoted strings. Respects
current LC_CTYPE locale if
"use locale" in force. See perllocale and perlunicode for more
details about locale and
Unicode support.
If EXPR is omitted, uses $_.
E.g.,
$ echo ZZZZZZZZZ|perl -nwle 'print ucfirst'
ZZZZZZZZZ
is what I would call "all characters in uppercase", not "first character
in uppercase". Though I suppose a legal snotface would win in court.
(So one must do
$ echo ZZZZZZZZZ|perl -nwle 'print ucfirst lc'
Zzzzzzzzz
)
--- End Message ---
--- Begin Message ---
Hi,
[email protected] wrote:
> For both of these please add "doesn't alter any of the remaining
> characters".
For any programming language and function, it's supposed by default. The
function doesn't modify what it doesn't modify, it's redundant to say so again.
> ucfirst Returns the value of EXPR with the first character in
> uppercase (titlecase in Unicode).
This is clear enough for me. "Take the value, uppercase the first character,
return the result". Nothing said it would lowercase anything.
> is what I would call "all characters in uppercase", not "first character
> in uppercase".
'First character in uppercase' is a subset of 'all characters in uppercase'.
--
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Developer
signature.asc
Description: OpenPGP digital signature
--- End Message ---