[poky] Strange file names

Wolfgang Denk wd at denx.de
Tue Mar 27 11:22:01 PDT 2012


Dear Tom Zanussi,

In message <1332870781.20140.12.camel at elmorro> you wrote:
>
> > Arghhh... This is totally broken. Do not do this.
> 
> Why do you say so - they're legal filenames and useful for this purpose?

Not anything that is legal (in the sense that it stretches the
technical possibilities to the limit) actually makes sense.

Yes, Unix allows nearly arbitrary file names.  Yes, it is technically
possible to store the source code of a program or a script in a file
name.  The fact that nobody does this should make you think if this is
a clever approach that nobody else could figure out, or if it is just
plain ......

Please consider the mental welfare of the people who have to maintain
that code after you, who have to type file names like "{{ if
kernel_choice == "linux-yocto-rt_3.2": }} linux-yocto-rt_3.2.bbappend".

Even standard commands like "ls" produce output that make my toe nails
roll up:

$ ls scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/
files
{{ if kernel_choice == "linux-yocto_3.0": }} linux-yocto_3.0.bbappend
{{ if kernel_choice == "linux-yocto_3.2": }} linux-yocto_3.2.bbappend
{{ if kernel_choice == "linux-yocto-rt_3.0": }} linux-yocto-rt_3.0.bbappend
{{ if kernel_choice == "linux-yocto-rt_3.2": }} linux-yocto-rt_3.2.bbappend
kernel-list.noinstall
$

PLEASE do not to this!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
History is only a confused heap of facts.
                                       -- Philip Earl of Chesterfield



More information about the poky mailing list