This is a bug report for perl from fulko@wecan.com, generated with the help of perlbug 1.20 running under perl 5.00404. ----------------------------------------------------------------- [Please enter your report here] I believe there is a problem in the way perl handles field widths in printf style format strings (especially w.r.t similar "C" handling). perl -e 'printf ("%2c-\n", " ");' should print out 2 spaces followed by a dash. ie. " -" more simply: perl -e 'printf ("%c-\n", " ");' does not print the space at all! This also fails with perl 5.6.0 built for i586-linux. [Please do not change anything below this line] ----------------------------------------------------------------- --- Site configuration information for perl 5.00404: Configured by fulko at Tue Aug 18 11:17:34 EDT 1998. Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration: Platform: osname=sco_sv, osvers=3.2, archname=i386-sco_sv uname='sco_sv fulko 3.2 2 i386 ' hint=previous, useposix=true, d_sigaction=define bincompat3=y useperlio=undef d_sfio=undef Compiler: cc='cc', optimize=' ', gccversion= cppflags='-w0 -U M_XENIX -DPERL_SCO5 -I/usr/local/include' ccflags ='-w0 -U M_XENIX -DPERL_SCO5 -I/usr/local/include' stdchar='unsigned char', d_stdstdio=undef, usevfork=false voidflags=15, castflags=0, d_casti32=undef, d_castneg=define intsize=4, alignbytes=4, usemymalloc=y, prototype=define Linker and Libraries: ld='ld', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /shlib /lib /usr/lib /usr/ccs/lib libs=-lintl -lsocket -lnsl -lndbm -ldbm -lld -lm -lc -lcrypt -lPW -lx libc=, so=so useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags='' cccdlflags='', lddlflags='' Locally applied patches: --- @INC for perl 5.00404: /usr/local/lib/perl5/i386-sco_sv/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-sco_sv /usr/local/lib/perl5/site_perl . --- Environment for perl 5.00404: HOME=/u/fulko LANG=C_C.C LD_LIBRARY_PATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/progrerssive/lib:/usr/skunk/lib LOGDIR (unset) PATH=/u/local/bin:/bin:/usr/bin:/usr/dbin:/usr/ldbin:/usr/bin/X11:/u/snap7.0/bin:/usr/java/bin:. PERL_BADLANG (unset) SHELL=/bin/kshThread Next