Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 37620
Status: rejected
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: leonard [...] umn.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id DD20E4D816B for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Fri, 11 Jul 2008 11:57:23 -0400 (EDT)
Received: (qmail 29952 invoked from network); 11 Jul 2008 15:57:22 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Jul 2008 15:57:22 -0000
Received: from mta-w2.tc.umn.edu (HELO mta-w2.tc.umn.edu) (134.84.119.6) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jul 2008 08:57:19 -0700
Received: from [128.101.44.124] (x-128-101-44-124.safl.umn.edu [128.101.44.124]) by mta-w2.tc.umn.edu (UMN smtpd) with ESMTP for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Fri, 11 Jul 2008 10:56:57 -0500 (CDT)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: inconsistencies between unix perl and win32 strawberry perl
MIME-Version: 1.0
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
X-Spam-Status: No, hits=-6.6 required=8.0 tests=BAYES_00,RCVD_IN_DNSWL_MED
Return-Path: <leonard [...] umn.edu>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Date: Fri, 11 Jul 2008 10:56:56 -0500
X-Umn-Remote-Mta: [N] x-128-101-44-124.safl.umn.edu [128.101.44.124] #+LO+TS+AU+HN
X-Spam-Level: *
Message-Id: <487782C8.9080505 [...] umn.edu>
content-type: text/plain; charset="utf-8"; format="flowed"
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Leonard Miller <leonard [...] umn.edu>
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 1261
Download (untitled) / with headers
text/plain 1.2k
I noticed the problem when trying out some one liners: perl -pe 'tr/A-Z/a-z/' testfile This should printout testfile in lowercase, however the case does not change. my win32 perl: C:\>perl -v This is perl, v5.10.0 built for MSWin32-x86-multi-thread Copyright 1987-2007, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. ---------------------------------------------------------------------------------- my linux perl: [leonard@bastion-1 ~]$ perl -v This is perl, v5.8.5 built for i386-linux-thread-multi Copyright 1987-2004, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page.
MIME-Version: 1.0
X-Spam-Status: No, hits=-6.6 required=8.0 tests=BAYES_00,RCVD_IN_DNSWL_MED
In-Reply-To: <rt-3.6.HEAD-28740-1215791862-931.37620-3-0 [...] rt.cpan.org>
X-Umn-Remote-Mta: [N] x-128-101-44-124.safl.umn.edu [128.101.44.124] #+LO+TS+AU+HN
References: <RT-Ticket-37620 [...] rt.cpan.org> <487782C8.9080505 [...] umn.edu> <rt-3.6.HEAD-28740-1215791862-931.37620-3-0 [...] rt.cpan.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id A403A4D80DE for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Fri, 11 Jul 2008 12:37:09 -0400 (EDT)
Received: (qmail 14299 invoked from network); 11 Jul 2008 16:37:09 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Jul 2008 16:37:09 -0000
Received: from mta-a2.tc.umn.edu (HELO mta-a2.tc.umn.edu) (134.84.119.206) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jul 2008 09:37:05 -0700
Received: from [128.101.44.124] (x-128-101-44-124.safl.umn.edu [128.101.44.124]) by mta-a2.tc.umn.edu (UMN smtpd) with ESMTP for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Fri, 11 Jul 2008 11:36:57 -0500 (CDT)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #37620] AutoReply: inconsistencies between unix perl and win32 strawberry perl
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
Return-Path: <leonard [...] umn.edu>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Date: Fri, 11 Jul 2008 11:36:57 -0500
X-Spam-Level: *
Message-Id: <48778C29.2060102 [...] umn.edu>
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Leonard Miller <leonard [...] umn.edu>
RT-Message-ID: <rt-3.6.HEAD-28740-1215794234-1477.37620-0-0 [...] rt.cpan.org>
Content-Length: 2313
Download (untitled) / with headers
text/plain 2.2k
Close this ticket, It works correctly if you use double quotes: perl -pe "tr/A-Z/a-z/" file Thank you for your time. Leonard Bugs in Perl-Dist-Strawberry via RT wrote: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "inconsistencies between unix perl and win32 strawberry perl", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #37620]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=37620 > > Please include the string: > > [rt.cpan.org #37620] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Perl-Dist-Strawberry@rt.cpan.org > > ------------------------------------------------------------------------- > I noticed the problem when trying out some one liners: > perl -pe 'tr/A-Z/a-z/' testfile > > This should printout testfile in lowercase, however the case does not > change. > > my win32 perl: > C:\>perl -v > > This is perl, v5.10.0 built for MSWin32-x86-multi-thread > > Copyright 1987-2007, Larry Wall > > Perl may be copied only under the terms of either the Artistic License > or the > GNU General Public License, which may be found in the Perl 5 source kit. > > Complete documentation for Perl, including FAQ lists, should be found on > this system using "man perl" or "perldoc perl". If you have access to the > Internet, point your browser at http://www.perl.org/, the Perl Home Page. > > > > ---------------------------------------------------------------------------------- > my linux perl: > [leonard@bastion-1 ~]$ perl -v > > This is perl, v5.8.5 built for i386-linux-thread-multi > > Copyright 1987-2004, Larry Wall > > Perl may be copied only under the terms of either the Artistic License > or the > GNU General Public License, which may be found in the Perl 5 source kit. > > Complete documentation for Perl, including FAQ lists, should be found on > this system using `man perl' or `perldoc perl'. If you have access to the > Internet, point your browser at http://www.perl.com/, the Perl Home Page. > > > >
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,DK_SIGNED,SPF_PASS
In-Reply-To: <rt-3.6.HEAD-28740-1215791862-1687.37620-4-0 [...] rt.cpan.org>
Content-Disposition: inline
References: <RT-Ticket-37620 [...] rt.cpan.org> <487782C8.9080505 [...] umn.edu> <rt-3.6.HEAD-28740-1215791862-1687.37620-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
Received: from x1.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 581AC4D82C1 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Fri, 11 Jul 2008 12:57:28 -0400 (EDT)
Received: (qmail 22708 invoked from network); 11 Jul 2008 16:57:27 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 11 Jul 2008 16:57:27 -0000
Received: from yx-out-2324.google.com (HELO yx-out-2324.google.com) (74.125.44.30) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Jul 2008 09:57:23 -0700
Received: by yx-out-2324.google.com with SMTP id 3so1129691yxj.3 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Fri, 11 Jul 2008 09:57:21 -0700 (PDT)
Received: by 10.114.133.1 with SMTP id g1mr7258666wad.149.1215795440186; Fri, 11 Jul 2008 09:57:20 -0700 (PDT)
Received: by 10.114.102.14 with HTTP; Fri, 11 Jul 2008 09:57:20 -0700 (PDT)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #37620] inconsistencies between unix perl and win32 strawberry perl
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=uSBZ2l6vv57h+zGszwQZRQkvmMzze0qUOFb+RDMMkVnt9qUjeEfmcq0WCLSpAUsSLo I1JMyXXDdTiYP0SbfzqOv2LMvcJx9C9By+4df3UjXYf2HIi3Ns98DyqqH9WG2oUDu93K uhKtfhgFM5MBWffWEbNukzXO/FnacmqtsSrjY=
Return-Path: <xdaveg [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=thY2TD1kWqS/TgSWxxxykCubNEBfo8Q6LpcDV2iQdiw=; b=CntYAVR9T0Q2p+kDUNbigDWFXoQO9wE48nbMq+5mM2EsXtDyQvukQjdBd4ER/0Bbz8 kwsF2hNLJtKks56HFFIS6ejU2nC6/k86Sd1vJ1OdPwpPG6mJ3kHEhriBRHfwEQKqQf/i xG9cwqBjCzCMLh/ie/KndZr9Fq+iuVVXHmCng=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
X-Google-Sender-Auth: 4af3465e39b408f5
Sender: xdaveg [...] gmail.com
Date: Fri, 11 Jul 2008 12:57:20 -0400
X-Spam-Level: *
Message-Id: <5d4beb40807110957w16e756eg8708b22c7d332bc0 [...] mail.gmail.com>
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: "David Golden" <dagolden [...] cpan.org>
RT-Message-ID: <rt-3.6.HEAD-28740-1215795454-1624.37620-0-0 [...] rt.cpan.org>
Content-Length: 377
Download (untitled) / with headers
text/plain 377b
On Fri, Jul 11, 2008 at 11:57 AM, Leonard Miller via RT <bug-Perl-> I noticed the problem when trying out some one liners: Show quoted text
> perl -pe 'tr/A-Z/a-z/' testfile
It's a shell quoting issue. You can't use single quotes with the Windows command line. Try this: Show quoted text
> perl -pe "tr/A-Z/a-z/" testfile
Works for me. It does make one-liners annoying. I wind up using qq() a lot. David
MIME-Version: 1.0
In-Reply-To: <487782C8.9080505 [...] umn.edu>
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
References: <487782C8.9080505 [...] umn.edu>
Message-Id: <rt-3.6.HEAD-4420-1222675100-1633.37620-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 7
NOTABUG
From cactus1978 [...] gmail.com Tue Mar 8 16: 49:17 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-4.657 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=1.553, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
X-Spam-Flag: NO
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4D76A44C.6060405 [...] gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -4.657
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=cactus1978 [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 25733241716 for <cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com>; Tue, 8 Mar 2011 16:49:17 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8824tAvXEaGh for <cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com>; Tue, 8 Mar 2011 16:49:15 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D272F2416F2 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Tue, 8 Mar 2011 16:49:14 -0500 (EST)
Received: (qmail 20693 invoked by uid 103); 8 Mar 2011 21:49:14 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 8 Mar 2011 21:49:14 -0000
Received: from mail-ww0-f52.google.com (HELO mail-ww0-f52.google.com) (74.125.82.52) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Tue, 08 Mar 2011 13:49:10 -0800
Received: by wwj40 with SMTP id 40so1504836wwj.21 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Tue, 08 Mar 2011 13:49:05 -0800 (PST)
Received: by 10.227.169.2 with SMTP id w2mr5012995wby.77.1299620945737; Tue, 08 Mar 2011 13:49:05 -0800 (PST)
Received: from [192.168.1.12] (0x57379072.sdnqu1.dynamic.dsl.tele.dk [87.55.144.114]) by mx.google.com with ESMTPS id bd8sm897477wbb.19.2011.03.08.13.49.04 (version=SSLv3 cipher=OTHER); Tue, 08 Mar 2011 13:49:05 -0800 (PST)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; da; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
Subject: [rt.cpan.org #37620] inconsistencies between unix perl and win32 strawberry perl
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=EJzfZFvuorFWPjdWH7TmsjHuhQATwcT0DVgJoYCMFUqzKRIzmHC87YLcRcoZVULbop cR6tQtLIgDJmbThs8R3AWJkQeidVZO3+xATwx32Ng5RGqbM2P8m7GEhBW7pI98Vvg1DX mZ9+d7zfyzo5vLWKNXgnXUNSUy/+k9y/cLuXc=
Return-Path: <cactus1978 [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=ZR/4/m5q+T8k0rBSacYsSG0w+lQK5OmjyyeMuzLKuyo=; b=e6bRPcw77KxE92LpSq+iXY+le6iKueoMFr17ONXH6LO0MEuja6A3okqb60fHFpXOCd Jgm9B/Z6horGjk1D3iKrTB7ouA32IHqkJ8nuO9wPHIUKwdYqF5u7TjXp0hQNxmZOoovh aCkSjr6W6zk71jBP7aQ4G9d4CkApGz6NCq8t4=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com
X-RT-Mail-Extension: perl-dist-strawberry
Date: Tue, 08 Mar 2011 22:49:00 +0100
X-Spam-Level:
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Magnus Mikkelsen <cactus1978 [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-26837-1299620957-517.37620-0-0 [...] rt.cpan.org>
Content-Length: 1114
Hi Show quoted text
>On Fri, Jul 11, 2008 at 11:57 AM, Leonard Miller via RT<bug-Perl-> I >noticed the problem when trying out some one liners: > perl -pe 'tr/A-Z/a-z/' testfile > >It's a shell quoting issue. You can't use single quotes with the >Windows command line. >
Try this: Show quoted text
> > perl -pe "tr/A-Z/a-z/" testfile > >Works for me. > >It does make one-liners annoying. I wind up using qq() a lot. > >David
Funny though singlequotes workes fine for cygwins perl distribution, even if its started from the windows shell: <windows shell snip start> C:\cygwin\bin>perl -e 'print "Hello world"' Hello world C:\cygwin\bin>perl -v This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int (with 13 registered patches, see perl -V for more detail) <windows shell snip stop> And if I try with Strawberry: <windows shell snip start> C:\strawberry\perl>perl -e 'print "Hello world"' Can't find string terminator "'" anywhere before EOF at -e line 1. C:\strawberry\perl>perl -v This is perl, v5.10.1 (*) built for MSWin32-x86-multi-thread <windows shell snip start> Regards Magnus Mikkelsen


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.