Account Options

  1. Sign in
 
  Advanced Search
Preferences
Search:  all groups  Google Groups
 GroupsResults 1 - 10 of about 23,800 for G0 leading zeros perl
Sorted by relevance    Sort by date
 

[perl #17075] sprintf: '%.[num](g|G)' documentation incorrect
perl.perl5.porters  -  17 posts  -  6 authors  - Last post:  Sep 8, 2002
Allen Smith perl...@perl.org perl perl5 porters # New Ticket
Created by Allen Smith ... If necessary, the number will be padded on
the left with leading zeros.
http://groups.google.com/g/3a27feee/t/1128e5b06e79936e/.../b8c572d0d767e079?...

get rid of these leading zeros in Perl
comp.lang.perl.misc  -  27 posts  -  21 authors  - Last post:  Aug 7, 2001
194.203.212.8_[demerphq] comp lang perl misc According to Chas Friedman
<fried...@math.utexas.edu>: Larry S <dime0...@yahoo.com> wrote in
...
http://groups.google.com/g/f517ff05/t/78ed68db540982c3/.../c1ceb78693d6554d?...

Regex: removing leading zeros from mathematical expressions
perl.beginners  -  4 posts  -  4 authors  - Last post:  May 9, 2003
George P. pgeo...@cmie.com perl beginners On Fri, 9 May 2003, Toby Stuart wrote: I want to remove
leading zeros from mathematical expressions for ... $expr = "05+0120*(006+04)";
$expr =~ s/([^\d]*)0+([\d]+)/$1$2/g; This should work for ...
http://groups.google.com/g/6a37ff02/t/f81c0d179e43aa3f/d/49465c6efef5ba5b?...

leading zeros when exporting from decimal
comp.databases.ibm-db2  -  8 posts  -  5 authors  - Last post:  Mar 17, 2004
... out of DB2 UDB 8.1.5 I get a "+" and leading zeros to round out the field (see
example below). I have a quick and dirty perl one-liner to fix this, but even after scouring the
export documentation and searching the web, ... d*)/$1/g;' k.del 1,10.20.
http://groups.google.com/g/b847fef0/t/19fc6e7e09d08b0b/d/92868fc3babec859?...

stripping leading zeros thru multiple fields
comp.lang.perl.misc  -  8 posts  -  6 authors  - Last post:  Jun 11, 2003
Garry Short g4rry_sh...@zw4llet.com comp lang perl misc Michael Budash ... up with the following
(via searches and copying code) to strip all leading zeros thru a ... with the g modifier
on your substitution regex: $now_string =~ s/0(\d+)/$1/g; ...
http://groups.google.com/g/f517ff05/t/6b2ced7169da84fc/d/83f66bd371e9ed62?...

Leading zero in a string
perl.beginners  -  6 posts  -  5 authors  - Last post:  Sep 9, 2004
Wiggins d Anconia wigg...@danconia.org perl beginners Please bottom post. ... And I
won't even go into the point that some months only have 28, 29, or 30 days ... less
than 10 to have a leading zero, so 7th day of the month should say '07'.
http://groups.google.com/g/6a37ff02/t/b0bfc4cf8b1f68e8/d/c1b7a3edf6828b02?...

Very tiny bug in printf? (perl 4.034)
comp.lang.perl  -  4 posts  -  3 authors  - Last post:  Sep 3, 1992
Actually, this behavior seems to be deemed undefined by the standard: "For d, i, o, u, x, X, e, E, f,
g, and G conversions, leading zeros ... are used to pad the field ...
http://groups.google.com/g/a657fefd/t/f7261ebcc17fd7ac/d/e15a1dfb0c4a9b5e?...

ETC- printouts, ugh
rec.arts.theatre.stagecraft  -  13 posts  -  7 authors  - Last post:  Apr 24, 2002
... wrote: Have you tried taking the .txt file and doing some programming and processing in
PERL? ... The first two "sed" commands strip any leading zeros.
http://groups.google.com/g/fe47fef3/t/f14ab3eb252b6d2a/d/6b21ffb8aee8d4e?hl...

[perl.git] branch blead, updated. v5.13.11-448-g17148a1
perl.perl5.changes  -  1 post  -  1 author  - Last post:  Apr 15, 2011
"Karl Williamson" pub...@khwilliamson.com perl perl5 changes In perl.git, the ... It
is customary but not required to use leading zeros to pad the number to 4 ... =back -You can the
force a backreference interpretation always by using the C<\g{.
http://groups.google.com/g/a737ff03/t/b1c578244ca4eb6f/d/2aab2acea1728685?...

Octal should go, binary should come!
comp.lang.tcl  -  47 posts  -  21 authors  - Last post:  Mar 7, 2000
What I ususally do when reading in external data that has leading zeros
is run it through the scan statement: set dateToTry "09/27/99" scan
$dateToTry ...
http://groups.google.com/g/4897fef1/t/18536545a521e4ad/d/2a29f7a44a73f7a7?...


Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google