[PLUG] find | while read

Eric Wilhelm scratchcomputing at gmail.com
Sun Apr 13 17:44:29 UTC 2008


# from Dan Young
# on Sunday 13 April 2008 09:13:

>What about a filename with a newline? Pathological, I know:
>
>touch "`echo -e 'foo\nbar.txt'`"

Yep, that's a question which the emitter (git) must address, but in this 
context it can probably be treated as extremely pathological for the 
forseeable future.

Aside: It appears that IFS=$'\0' doesn't work -- bug?

Plan9 gets this right, right? ;-)

--Eric
-- 
Atavism  n:  The recurrence of any peculiarity or disease of an ancestor
in a subsequent generation, usually due to genetic recombination.
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------



More information about the PLUG mailing list