[PATCH] make it possible to keep Config/Kbuild snippets in *.c files

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sat May 15 17:59:38 UTC 2010


On Sat, 15 May 2010, walter harms wrote:

> Cristian Ionescu-Idbohrn schrieb:
>
> > If resetting IFS is important, please do it like this instead:
> >
> > IFS='
> > '
> >
> > You'll get what you want:
> >
> > 00000000  0a                                                |.|
> >
> > without breaking anything.
>
> That will make it unreadable due to invisible chars.

It's readable alright, IMO.  Just look for the closing quote character.

> what is about:
> IFS=$( printf "\n" )
>
> printf is posix and should be supported by dash.

Yes, printf is posix, supported by bash, dash and whatnot.

But, even if it did work (did you test?  what shell?), forking a subshell
just to get an LF character stashed into a variable, is way too expensive.


Cheers,

-- 
Cristian


More information about the busybox mailing list