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 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
