tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Case sensitivity



> The other thing that springs to mind for the perl hackers amongst us
> is writing a tool to trawl all the PLISTs to find files which will
> clash on case-insensitive file systems - now is your chance! :-).
I would not consider myself a perl hacker, exactly, but here you go:

% ./plistcase.pl /usr/pkgsrc/cross/avr-libc/PLIST
clash: share/doc/avr-libc/man/man3/PRIX16.3 and 
share/doc/avr-libc/man/man3/PRIx16.3
clash: share/doc/avr-libc/man/man3/PRIX32.3 and 
share/doc/avr-libc/man/man3/PRIx32.3
clash: share/doc/avr-libc/man/man3/PRIX8.3 and 
share/doc/avr-libc/man/man3/PRIx8.3
clash: share/doc/avr-libc/man/man3/PRIXFAST16.3 and 
share/doc/avr-libc/man/man3/PRIxFAST16.3
clash: share/doc/avr-libc/man/man3/PRIXFAST32.3 and 
share/doc/avr-libc/man/man3/PRIxFAST32.3
clash: share/doc/avr-libc/man/man3/PRIXFAST8.3 and 
share/doc/avr-libc/man/man3/PRIxFAST8.3
clash: share/doc/avr-libc/man/man3/PRIXLEAST16.3 and 
share/doc/avr-libc/man/man3/PRIxLEAST16.3
clash: share/doc/avr-libc/man/man3/PRIXLEAST32.3 and 
share/doc/avr-libc/man/man3/PRIxLEAST32.3
clash: share/doc/avr-libc/man/man3/PRIXLEAST8.3 and 
share/doc/avr-libc/man/man3/PRIxLEAST8.3
clash: share/doc/avr-libc/man/man3/PRIXPTR.3 and 
share/doc/avr-libc/man/man3/PRIxPTR.3
clash: share/doc/avr-libc/man/man3/__BOOT_RWW_ENABLE.3 and 
share/doc/avr-libc/man/man3/__boot_rww_enable.3
clash: share/doc/avr-libc/man/man3/FDEV_SETUP_STREAM.3 and 
share/doc/avr-libc/man/man3/fdev_setup_stream.3

(Script is attached)

Attachment: plistcase.pl
Description: plistcase.pl



Home | Main Index | Thread Index | Old Index